1 # Contributor: LD King <kldscs@gmail.com>
6 pkgdesc="Libevent is a library that provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a timeout has been reached."
8 url="http://pecl.php.net/package/libevent"
10 depends=('php52' 'libevent')
11 backup=('etc/php/conf.d/libevent.ini')
12 install=php52-libevent.install
13 source=(http://pecl.php.net/get/libevent-$pkgver.tgz)
14 md5sums=('ab19ae2a0ddbbf2465addae64ccee56d')
17 cd "$srcdir/libevent-$pkgver"
20 ./configure --prefix=/usr
22 make INSTALL_ROOT="$pkgdir" install
23 echo ';extension=libevent.so' > libevent.ini
24 install -D -m644 libevent.ini "$pkgdir/etc/php/conf.d/libevent.ini"
27 # vim:set ts=2 sw=2 et: