wok-next view tcpdump/receipt @ rev 117

Add : libpcap needed to build tcpdump (Serge)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Jan 05 20:41:02 2008 +0100 (2008-01-05)
parents 447c9fb94189
children b515bb60b101
line source
1 # SliTaz package receipt.
3 PACKAGE="tcpdump"
4 VERSION="3.9.8"
5 CATEGORY="security"
6 SHORT_DESC="cli wire sniffer"
7 DEPENDS="openssl"
8 BUILD_DEPENDS="libpcap"
9 MAINTAINER="Serge Daigle <sdaigl@lacitec.on.ca>"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="www.tcpdump.org"
12 WGET_URL="http://www.tcpdump.org/release/$TARBALL";
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/sbin $fs/usr
29 strip -s $fs/usr/sbin/*
30 }