summaryrefslogtreecommitdiff
path: root/testing/libevent/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-15 11:21:50 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-15 11:21:50 -0300
commit3b1f136e5530b99c12c9b170b16af39e398e1719 (patch)
tree68f1515c47b2bfc69d67cb523ad955dff4538d6a /testing/libevent/PKGBUILD
parent5182b3ad7127576cdf11e1b729c9ef53383dbf69 (diff)
parentba3afb3907fc927bd08713613d4a30a9479c715c (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: extra/indent/PKGBUILD
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..21f3f6722
--- /dev/null
+++ b/testing/libevent/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 127366 2011-06-13 18:59:12Z eric $
+# Maintainer:
+# Contributor: Judd <jvinet@zeroflux.org>
+
+pkgname=libevent
+pkgver=2.0.12
+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=('42986228baf95e325778ed328a93e070')
+
+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
+}