diff options
author | root <root@rshg047.dnsready.net> | 2011-06-14 22:59:43 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-06-14 22:59:43 +0000 |
commit | ba3afb3907fc927bd08713613d4a30a9479c715c (patch) | |
tree | 1f1353c475b7709a692e3d42a8ac9c2e0e8ad02a /testing/libevent | |
parent | 7c64c5039335c73eaa1a402c417235e8ca9a5109 (diff) |
Tue Jun 14 22:59:43 UTC 2011
Diffstat (limited to 'testing/libevent')
-rw-r--r-- | testing/libevent/PKGBUILD | 33 |
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 +} |