summaryrefslogtreecommitdiffstats
path: root/abs/core/libevent/PKGBUILD
blob: b8e89b81e1e0e4c178b55d5be873390f6710a445 (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
# $Id: PKGBUILD 89697 2010-09-03 10:45:46Z remy $
# Maintainer: 
# Contributor: Judd <jvinet@zeroflux.org>

pkgname=libevent
pkgver=1.4.14b
pkgrel=2
pkgdesc="An event notification library"
license=('GPL2')
arch=('i686' 'x86_64')
url="http://www.monkey.org/~provos/libevent/"
depends=('glibc')
source=("http://www.monkey.org/~provos/libevent-$pkgver-stable.tar.gz")
options=('!libtool')
md5sums=('a00e037e4d3f9e4fe9893e8a2d27918c')

build() {
  cd $srcdir/$pkgname-$pkgver-stable
  sed -i 's#python#python2#' event_rpcgen.py
  ./configure --prefix=/usr --sysconfdir=/etc
  make || return 1
}

package() {
  cd $srcdir/$pkgname-$pkgver-stable
  make DESTDIR=$pkgdir install || return 1
}