wok-current view tcpdump/receipt @ rev 3533
merge 3532:012d72b2b629 , 3530:0109c31e8835
author | root@bt-199-036.bta.net.cn |
---|---|
date | Mon Jun 22 17:30:40 2009 +0800 (2009-06-22) |
parents | b515bb60b101 |
children | 866fa2493b1b |
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"
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 }