wok annotate tcpdump/receipt @ rev 48
new receipt for security
author | Serge Daigle <sdaigl@lacitec.on.ca> |
---|---|
date | Thu Dec 20 00:12:47 2007 -0500 (2007-12-20) |
parents | |
children | 7ed87c4c202a |
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" |
sdaigl@48 | 7 DEPENDS="openssl" |
sdaigl@48 | 8 MAINTAINER="Serge Daigle <sdaigl@lacitec.on.ca>" |
sdaigl@48 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
sdaigl@48 | 10 WEB_SITE="www.tcpdump.org" |
sdaigl@48 | 11 WGET_URL="http://www.tcpdump.org/release/$TARBALL"; |
sdaigl@48 | 12 |
sdaigl@48 | 13 # Rules to configure and make the package. |
sdaigl@48 | 14 compile_rules() |
sdaigl@48 | 15 { |
sdaigl@48 | 16 cd $src |
sdaigl@48 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
sdaigl@48 | 18 --mandir=/usr/share/man $CONFIGURE_ARGS |
sdaigl@48 | 19 make |
sdaigl@48 | 20 make DESTDIR=$PWD/_pkg install |
sdaigl@48 | 21 } |
sdaigl@48 | 22 |
sdaigl@48 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
sdaigl@48 | 24 genpkg_rules() |
sdaigl@48 | 25 { |
sdaigl@48 | 26 mkdir -p $fs/usr |
sdaigl@48 | 27 cp -a $_pkg/usr/sbin $fs/usr |
sdaigl@48 | 28 strip -s $fs/usr/sbin/* |
sdaigl@48 | 29 } |