wok-4.x annotate tcpdump/receipt @ rev 10486
ptunnel: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 12:59:19 2011 +0200 (2011-05-25) |
parents | 02bbaa9d12ba |
children | cbde4eed7ffd |
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@10460 | 13 DEPENDS="libcrypto openssl " |
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 } |