summaryrefslogtreecommitdiffstats
path: root/abs/core/libevent/PKGBUILD
blob: e78d693aaec2e37c047e5d24d846d889b3df4481 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id$
# 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
}