Add libev package

This commit is contained in:
Fredrik Fornwall 2016-02-02 10:35:07 -05:00
parent 362ea15214
commit 66d8fddacc
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,12 @@
diff -u -r ../libev-4.22/Makefile.in ./Makefile.in
--- ../libev-4.22/Makefile.in 2015-12-20 16:12:45.000000000 -0500
+++ ./Makefile.in 2016-02-02 10:30:17.445084694 -0500
@@ -343,7 +343,7 @@
ev.3 ev.pod Symbols.ev Symbols.event
man_MANS = ev.3
-include_HEADERS = ev.h ev++.h event.h
+include_HEADERS = ev.h ev++.h
lib_LTLIBRARIES = libev.la
libev_la_SOURCES = ev.c event.c
libev_la_LDFLAGS = -version-info $(VERSION_INFO)

6
packages/libev/build.sh Normal file
View File

@ -0,0 +1,6 @@
TERMUX_PKG_HOMEPAGE=http://software.schmorp.de/pkg/libev.html
TERMUX_PKG_DESCRIPTION="Full-featured and high-performance event loop library"
TERMUX_PKG_VERSION=4.22
TERMUX_PKG_SRCURL=http://dist.schmorp.de/libev/libev-${TERMUX_PKG_VERSION}.tar.gz
CFLAGS+=" -Dfd_mask=int"