blob: 28fd16273b828305770a1f60fb827160700e3a79 (
plain)
1 # Description: Packet capture library
2 # URL: http://www.tcpdump.org
3 # Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
4
5 name=libpcap
6 version=1.0.0
7 release=1
8 source=(http://www.tcpdump.org/release/$name-$version.tar.gz)
9
10 build () {
11 cd $name-$version
12 install -d $PKG/usr/bin
13 sed -i '/ln [^-][^s]/s/ln/ln -s/' Makefile.in
14 ./configure --prefix=/usr --mandir=/usr/man
15 make
16 make DESTDIR=$PKG install install-shared
17 ln -s $name.so.$version $PKG/usr/lib/$name.so.1
18 ln -s $name.so.$version $PKG/usr/lib/$name.so
19 }
|