summaryrefslogtreecommitdiff
path: root/core/libevent
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /core/libevent
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'core/libevent')
-rw-r--r--core/libevent/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/core/libevent/PKGBUILD b/core/libevent/PKGBUILD
new file mode 100644
index 000000000..61c39c3a7
--- /dev/null
+++ b/core/libevent/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 109275 2011-02-07 15:11:49Z ibiru $
+# Maintainer:
+# Contributor: Judd <jvinet@zeroflux.org>
+
+pkgname=libevent
+pkgver=2.0.10
+pkgrel=1
+pkgdesc="An event notification library"
+license=('GPL2')
+arch=('i686' 'x86_64')
+url="http://www.monkey.org/~provos/libevent/"
+depends=('openssl')
+source=("http://www.monkey.org/~provos/libevent-$pkgver-stable.tar.gz")
+options=('!libtool')
+md5sums=('a37401d26cbbf28185211d582741a3d4')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}-stable"
+ sed -i 's#python#python2#' event_rpcgen.py
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}-stable"
+ make DESTDIR=${pkgdir} install
+}