summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/libev/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/libev/APKBUILD b/testing/libev/APKBUILD
new file mode 100644
index 000000000..e3c3b00a7
--- /dev/null
+++ b/testing/libev/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer:
+pkgname=libev
+pkgver=4.03
+pkgrel=0
+pkgdesc="event dispatch library"
+url="http://libev.schmorp.de/"
+arch="all"
+license="BSD GPL"
+depends=
+depends_dev=
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://dist.schmorp.de/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+
+_builddir="${srcdir}/${pkgname}-${pkgver}"
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="86cd5c1b42fced1bd02c6e0119e9b865 libev-4.03.tar.gz"