wok-6.x annotate tcpdump/receipt @ rev 4194
netatalk*: fix FSH
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 23 16:37:17 2009 +0200 (2009-09-23) |
parents | b515bb60b101 |
children | 866fa2493b1b |
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" |
pankso@169 | 7 DEPENDS="libcrypto openssl " |
pankso@117 | 8 BUILD_DEPENDS="libpcap" |
pascal@1065 | 9 MAINTAINER="sdaigl@lacitec.on.ca" |
sdaigl@48 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@169 | 11 WEB_SITE="http://www.tcpdump.org/" |
pankso@169 | 12 WGET_URL="http://www.tcpdump.org/release/$TARBALL" |
sdaigl@48 | 13 |
sdaigl@48 | 14 # Rules to configure and make the package. |
sdaigl@48 | 15 compile_rules() |
sdaigl@48 | 16 { |
pankso@169 | 17 cd $src |
pankso@169 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pankso@169 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS |
pankso@169 | 20 make |
pankso@169 | 21 make DESTDIR=$PWD/_pkg install |
sdaigl@48 | 22 } |
sdaigl@48 | 23 |
sdaigl@48 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
sdaigl@48 | 25 genpkg_rules() |
sdaigl@48 | 26 { |
pankso@169 | 27 mkdir -p $fs/usr |
pankso@169 | 28 cp -a $_pkg/usr/sbin $fs/usr |
pankso@169 | 29 strip -s $fs/usr/sbin/* |
sdaigl@48 | 30 } |