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