From 66d8fddacc464dadc63e7f94573c6525a8d44908 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Tue, 2 Feb 2016 10:35:07 -0500 Subject: [PATCH] Add libev package --- packages/libev/Makefile.in.patch | 12 ++++++++++++ packages/libev/build.sh | 6 ++++++ 2 files changed, 18 insertions(+) create mode 100644 packages/libev/Makefile.in.patch create mode 100644 packages/libev/build.sh diff --git a/packages/libev/Makefile.in.patch b/packages/libev/Makefile.in.patch new file mode 100644 index 000000000..1ec49c39a --- /dev/null +++ b/packages/libev/Makefile.in.patch @@ -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) diff --git a/packages/libev/build.sh b/packages/libev/build.sh new file mode 100644 index 000000000..9d7212a14 --- /dev/null +++ b/packages/libev/build.sh @@ -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"