summaryrefslogtreecommitdiff
path: root/testing/libevent/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-30 23:14:43 +0000
committerroot <root@rshg054.dnsready.net>2011-08-30 23:14:43 +0000
commitb82f11fd76e83d60504649838e60a235b394160f (patch)
tree4914b89dc1dbc3ea44ae87c567ac7e9fc821c529 /testing/libevent/PKGBUILD
parente13fbaf2cbb72b7e8c8278ea94b70dd4a8ce48b2 (diff)
Tue Aug 30 23:14:43 UTC 2011
Diffstat (limited to 'testing/libevent/PKGBUILD')
-rw-r--r--testing/libevent/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/libevent/PKGBUILD b/testing/libevent/PKGBUILD
new file mode 100644
index 000000000..88a9d6c56
--- /dev/null
+++ b/testing/libevent/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 136467 2011-08-29 20:57:46Z eric $
+# Maintainer:
+# Contributor: Judd <jvinet@zeroflux.org>
+
+pkgname=libevent
+pkgver=2.0.13
+pkgrel=1
+pkgdesc="An event notification library"
+arch=('i686' 'x86_64')
+url="http://www.monkey.org/~provos/libevent/"
+license=('GPL2')
+depends=('openssl')
+optdepends=('python2: to use event_rpcgen.py')
+options=('!libtool')
+source=("http://www.monkey.org/~provos/libevent-$pkgver-stable.tar.gz")
+md5sums=('af786b4b3f790c9d3279792edf7867fc')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}-stable"
+ sed -i 's#python#python2#' event_rpcgen.py
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}-stable"
+ make check
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}-stable"
+ make DESTDIR="${pkgdir}" install
+}