wok-current view tcpdump/receipt @ rev 9785
gen-init-cpio: fix build
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 12 15:15:03 2011 +0200 (2011-05-12) |
parents | 866fa2493b1b |
children | f0467e0fd4b2 |
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="libcrypto openssl "
8 BUILD_DEPENDS="libpcap"
9 MAINTAINER="sdaigl@lacitec.on.ca"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.tcpdump.org/"
12 WGET_URL="http://www.tcpdump.org/release/$TARBALL"
13 TAGS="network security"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man $CONFIGURE_ARGS
21 make
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/sbin $fs/usr
30 }