summaryrefslogtreecommitdiff
path: root/core/libevent/PKGBUILD
blob: 61c39c3a75b04aea18bd43cdeffed7efd2f73534 (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 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
}