Skip to content

Instantly share code, notes, and snippets.

@blt
Created January 30, 2011 22:34
Show Gist options
  • Select an option

  • Save blt/803345 to your computer and use it in GitHub Desktop.

Select an option

Save blt/803345 to your computer and use it in GitHub Desktop.
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