aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-03-12 21:39:05 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-03-12 21:39:05 +0000
commit96c132d173b6c30774b6e85707154b88759f313a (patch)
tree52f37c3c19c4991fd25cf6438d927a2aabc8242c /main
parent9ad8fe5b36fa29a1c37c60e43979f9a275256250 (diff)
downloadaports-96c132d173b6c30774b6e85707154b88759f313a.tar.bz2
aports-96c132d173b6c30774b6e85707154b88759f313a.tar.xz
main/libevent: new aport
An event notification library http://www.monkey.org/~provos/libevent/
Diffstat (limited to 'main')
-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"