diff options
Diffstat (limited to 'core/libevent/PKGBUILD')
-rw-r--r-- | core/libevent/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/core/libevent/PKGBUILD b/core/libevent/PKGBUILD new file mode 100644 index 000000000..61c39c3a7 --- /dev/null +++ b/core/libevent/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 109275 2011-02-07 15:11:49Z ibiru $ +# Maintainer: +# Contributor: Judd <jvinet@zeroflux.org> + +pkgname=libevent +pkgver=2.0.10 +pkgrel=1 +pkgdesc="An event notification library" +license=('GPL2') +arch=('i686' 'x86_64') +url="http://www.monkey.org/~provos/libevent/" +depends=('openssl') +source=("http://www.monkey.org/~provos/libevent-$pkgver-stable.tar.gz") +options=('!libtool') +md5sums=('a37401d26cbbf28185211d582741a3d4') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}-stable" + sed -i 's#python#python2#' event_rpcgen.py + ./configure --prefix=/usr --sysconfdir=/etc + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}-stable" + make DESTDIR=${pkgdir} install +} |