aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/libevent/APKBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/main/libevent/APKBUILD b/main/libevent/APKBUILD
new file mode 100644
index 0000000000..a90b96781e
--- /dev/null
+++ b/main/libevent/APKBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libevent
+pkgver=1.4.13
+pkgrel=0
+pkgdesc="An event notification library"
+url="http://www.monkey.org/~provos/libevent/"
+license="GPL-2"
+depends=
+makedepends=
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://www.monkey.org/~provos/$pkgname-$pkgver-stable.tar.gz"
+
+build() {
+ cd $srcdir/$pkgname-$pkgver-stable
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make || return 1
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver-stable
+ make -j1 DESTDIR=$pkgdir install || return 1
+}
+md5sums="0b3ea18c634072d12b3c1ee734263664 libevent-1.4.13-stable.tar.gz"