2006-12-20 18:56:46 +11:00
|
|
|
# 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
|
2007-04-01 18:36:41 +10:00
|
|
|
# Depends on:
|
2006-12-20 18:56:46 +11:00
|
|
|
|
|
|
|
name=libevent
|
2007-09-26 07:07:40 +10:00
|
|
|
version=1.3e
|
2007-08-17 05:39:32 +10:00
|
|
|
release=1
|
2007-02-17 04:04:16 +11:00
|
|
|
source=(http://www.monkey.org/~provos/libevent-$version.tar.gz)
|
2006-12-20 18:56:46 +11:00
|
|
|
|
|
|
|
build() {
|
2007-02-17 04:04:16 +11:00
|
|
|
cd libevent-$version
|
2006-12-20 18:56:46 +11:00
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2007-02-17 04:04:16 +11:00
|
|
|
--mandir=/usr/man \
|
2007-09-26 07:07:40 +10:00
|
|
|
--disable-static
|
2006-12-20 18:56:46 +11:00
|
|
|
|
2007-02-17 04:04:16 +11:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2007-07-31 19:50:45 +10:00
|
|
|
|
|
|
|
# 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
|
2007-08-02 21:28:06 +10:00
|
|
|
|
2007-08-12 08:45:02 +10:00
|
|
|
sed -i -e '/_NAME = /s/"event_rpcgen.py"/"event_rpcgen"/' $PKG/usr/bin/event_rpcgen
|
2006-12-20 18:56:46 +11:00
|
|
|
}
|
|
|
|
|