wok-stable annotate tcpdump/receipt @ rev 11430
up: devede 3.20.0
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Dec 16 15:42:01 2011 +0100 (2011-12-16) |
parents | f0467e0fd4b2 |
children |
rev | line source |
---|---|
sdaigl@48 | 1 # SliTaz package receipt. |
sdaigl@48 | 2 |
sdaigl@48 | 3 PACKAGE="tcpdump" |
sdaigl@48 | 4 VERSION="3.9.8" |
sdaigl@48 | 5 CATEGORY="security" |
sdaigl@48 | 6 SHORT_DESC="cli wire sniffer" |
pascal@1065 | 7 MAINTAINER="sdaigl@lacitec.on.ca" |
sdaigl@48 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@169 | 9 WEB_SITE="http://www.tcpdump.org/" |
pankso@169 | 10 WGET_URL="http://www.tcpdump.org/release/$TARBALL" |
jozee@4973 | 11 TAGS="network security" |
sdaigl@48 | 12 |
pascal@11279 | 13 DEPENDS="libcrypto openssl libpcap" |
pascal@10460 | 14 BUILD_DEPENDS="libpcap libpcap-dev" |
pascal@10460 | 15 |
sdaigl@48 | 16 # Rules to configure and make the package. |
sdaigl@48 | 17 compile_rules() |
sdaigl@48 | 18 { |
pankso@169 | 19 cd $src |
pankso@169 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pankso@169 | 21 --mandir=/usr/share/man $CONFIGURE_ARGS |
pankso@169 | 22 make |
pankso@169 | 23 make DESTDIR=$PWD/_pkg install |
sdaigl@48 | 24 } |
sdaigl@48 | 25 |
sdaigl@48 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
sdaigl@48 | 27 genpkg_rules() |
sdaigl@48 | 28 { |
pankso@169 | 29 mkdir -p $fs/usr |
pankso@169 | 30 cp -a $_pkg/usr/sbin $fs/usr |
sdaigl@48 | 31 } |