20 lines
538 B
Plaintext
20 lines
538 B
Plaintext
# Description: Packet capture library
|
|
# URL: http://www.tcpdump.org
|
|
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
|
|
|
|
name=libpcap
|
|
version=0.9.8
|
|
release=1
|
|
source=(http://www.tcpdump.org/release/$name-$version.tar.gz)
|
|
|
|
build () {
|
|
cd $name-$version
|
|
./configure --prefix=/usr \
|
|
--mandir=/usr/man \
|
|
--enable-ipv6
|
|
make
|
|
make DESTDIR=$PKG install install-shared
|
|
ln -s $name.so.$version $PKG/usr/lib/$name.so.0
|
|
ln -s $name.so.$version $PKG/usr/lib/$name.so
|
|
}
|