blob: b1bd4218c5db1f198818e0f4c897a547126278f4 (
plain)
1 # Description: Event notification library.
2 # URL: http://www.monkey.org/~provos/libevent/
3 # Maintainer: Danny Rawlins, monster dot romster at gmail dot com
4 # Packager: Robert McMeekin, rrm3 at rrm3 dot org
5
6 name=libevent
7 version=1.4.3
8 release=1
9 source=(http://www.monkey.org/~provos/libevent-$version-stable.tar.gz)
10
11 build() {
12 cd libevent-$version-stable
13
14 ./configure \
15 --prefix=/usr \
16 --mandir=/usr/man \
17 --disable-static
18
19 make
20 make DESTDIR=$PKG install
21 chmod a-x $PKG/usr/lib/*.so
22
23 # no .py extensions in /usr/bin its declared on the first line of
24 # the file
25 if [ -f $PKG/usr/bin/event_rpcgen.py ]; then
26 mv $PKG/usr/bin/event_rpcgen.py $PKG/usr/bin/event_rpcgen
27 sed -i $PKG/usr/bin/event_rpcgen -e '/_NAME = /s/"event_rpcgen.py"/"event_rpcgen"/'
28 fi
29 }
|