Skip to content

Instantly share code, notes, and snippets.

@blt
Created Jan 30, 2011
Embed
What would you like to do?
pkgname=libevent2
pkgver=2.0.10
pkgrel=1
pkgdesc="The libevent API provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a timeout has been re\
ached. Furthermore, libevent also support callbacks due to signals or regular timeouts."
url="http://monkey.org/~provos/libevent/"
arch=("i686" "x86_64")
license=("BSD")
depends=('bash')
makedepends=()
provides='libevent2'
source=(http://monkey.org/~provos/libevent-${pkgver}-stable.tar.gz)
md5sums=('a37401d26cbbf28185211d582741a3d4')
options=()
build() {
cd "$srcdir/libevent-$pkgver-stable"
./configure --prefix=/usr/local
make -j3
}
package() {
cd "$srcdir/libevent-$pkgver-stable"
make DESTDIR="$pkgdir/" install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment