# $Id: PKGBUILD 13094 2008-09-25 22:07:09Z ronald $
# Maintainer: 
# Contributor: Judd <jvinet@zeroflux.org>

pkgname=libevent
pkgver=1.4.8
pkgrel=2
pkgdesc="a mechanism to execute a callback function"
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=('e626c34f86746dffe8d055af0a84d08e')

build() {
  cd $srcdir/$pkgname-$pkgver-stable
  ./configure --prefix=/usr --sysconfdir=/etc
  make || return 1
  make DESTDIR=$pkgdir install || return 1
}