From 3d65494a8eda056377febda4642ce992e69a9371 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 7 Apr 2012 00:01:17 +0000 Subject: Sat Apr 7 00:01:16 UTC 2012 --- testing/libevent/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 testing/libevent/PKGBUILD (limited to 'testing/libevent') diff --git a/testing/libevent/PKGBUILD b/testing/libevent/PKGBUILD new file mode 100644 index 000000000..ff55ae1f3 --- /dev/null +++ b/testing/libevent/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 155753 2012-04-06 00:24:02Z tomegun $ +# Maintainer: Tom Gundersen +# Contributor: Judd + +pkgname=libevent +pkgver=2.0.18 +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=('aa1ce9bc0dee7b8084f6855765f2c86a' + '225bb6c417cfb31298e1e96d0eddca4a') -- cgit v1.2.3-54-g00ecf