CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
tcpdump: updated to 4.1.1
[attic/ports/opt-cross.git] / tcpdump / Pkgfile
CommitLineData
b3addca0
VM
1# Description: Network sniffer with command line interface
2# URL: http://www.tcpdump.org
3# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
38b50d66 4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
b3addca0
VM
5# Depends on: libpcap openssl
6
7name=tcpdump
aef0afdd 8version=4.1.1
b3addca0
VM
9release=1
10source=(http://www.tcpdump.org/release/$name-$version.tar.gz)
11
12build() {
aef0afdd
VM
13 cd $name-$version
14 echo "ac_cv_linux_vers=2" > config.cache
15 ./configure --build=$CHOST \
16 --host=$CTARGET \
17 --prefix=/usr \
18 --mandir=/usr/man \
19 --disable-ipv6 \
20 --cache-file=config.cache
21 sed -i 's|\-I/usr/include|\-I$(CLFS)/usr/include|g' Makefile
22 make
23 make DESTDIR=$PKG install
24 rm $PKG/usr/sbin/tcpdump.$version
b3addca0 25}