32 lines
711 B
Plaintext
32 lines
711 B
Plaintext
# Description: Event notification library.
|
|
# URL: http://www.monkey.org/~provos/libevent/
|
|
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
|
|
# Packager: Robert McMeekin, rrm3 at rrm3 dot org
|
|
# Depends on:
|
|
|
|
name=libevent
|
|
version=1.3c
|
|
release=1
|
|
source=(http://www.monkey.org/~provos/libevent-$version.tar.gz)
|
|
|
|
build() {
|
|
cd libevent-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--mandir=/usr/man \
|
|
--disable-static \
|
|
--disable-dependency-tracking \
|
|
--with-gnu-ld
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
# no .py extensions in /usr/bin its declared on the first line of
|
|
# the file
|
|
if [ -f $PKG/usr/bin/event_rpcgen.py ]; then
|
|
mv $PKG/usr/bin/event_rpcgen.py $PKG/usr/bin/event_rpcgen
|
|
fi
|
|
}
|
|
|