summaryrefslogtreecommitdiff
path: root/testing/libevent
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-21 11:26:12 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-21 11:26:12 -0300
commitc0bcbcf4015ba2388cb0f0bd418e5242f9613b43 (patch)
tree8e4f525a74e1ec4d373256b380f7d49305ed5d00 /testing/libevent
parenta05bf04c686ff44fc6c12fbe774d65032b74c55d (diff)
parent11484c032f8c236b2044e715a9a3b28e33f65598 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/6tunnel/PKGBUILD community/chrootuid/PKGBUILD community/cpulimit/PKGBUILD community/cutter/PKGBUILD community/darkhttpd/PKGBUILD community/darkstat/PKGBUILD community/datemath/PKGBUILD community/delegate/PKGBUILD community/dfm/PKGBUILD community/freedroid/PKGBUILD community/parano/PKGBUILD community/pyvorbis/PKGBUILD community/scrotwm/PKGBUILD extra/antlr2/PKGBUILD extra/live-media/PKGBUILD extra/mono-zeroconf/PKGBUILD extra/vlc/PKGBUILD
Diffstat (limited to 'testing/libevent')
-rw-r--r--testing/libevent/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/libevent/PKGBUILD b/testing/libevent/PKGBUILD
new file mode 100644
index 000000000..fd436f152
--- /dev/null
+++ b/testing/libevent/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 150654 2012-02-19 12:52:52Z tomegun $
+# Maintainer: Tom Gundersen <teg@jklm.no>
+# Contributor: Judd <jvinet@zeroflux.org>
+
+pkgname=libevent
+pkgver=2.0.17
+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=(https://github.com/downloads/libevent/libevent/libevent-$pkgver-stable.tar.gz{,.asc})
+
+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
+}
+md5sums=('dad64aaaaff16b5fbec25160c06fee9a'
+ 'ef4a32a96df3941fed58fbe39b4eab9d')