2006-12-20 18:56:46 +11:00
|
|
|
# Description: Event notification library.
|
|
|
|
# URL: http://www.monkey.org/~provos/libevent/
|
2008-03-26 13:45:31 +11:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
2006-12-20 18:56:46 +11:00
|
|
|
# Packager: Robert McMeekin, rrm3 at rrm3 dot org
|
|
|
|
|
|
|
|
name=libevent
|
2008-08-27 02:57:40 +10:00
|
|
|
version=1.4.7
|
2007-08-17 05:39:32 +10:00
|
|
|
release=1
|
2008-04-13 08:46:18 +10:00
|
|
|
source=(http://www.monkey.org/~provos/libevent-$version-stable.tar.gz)
|
2006-12-20 18:56:46 +11:00
|
|
|
|
|
|
|
build() {
|
2008-04-13 08:46:18 +10:00
|
|
|
cd libevent-$version-stable
|
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
|
2008-04-13 08:46:18 +10:00
|
|
|
chmod a-x $PKG/usr/lib/*.so
|
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
|
2008-03-05 00:43:45 +11:00
|
|
|
sed -i $PKG/usr/bin/event_rpcgen -e '/_NAME = /s/"event_rpcgen.py"/"event_rpcgen"/'
|
2007-07-31 19:50:45 +10:00
|
|
|
fi
|
2006-12-20 18:56:46 +11:00
|
|
|
}
|
|
|
|
|