wok view tcpdump/receipt @ rev 4244
gegl: make package smaller and with less deps
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Sep 24 22:50:22 2009 +0200 (2009-09-24) |
parents | b515bb60b101 |
children | 866fa2493b1b |
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="libcrypto openssl "
8 BUILD_DEPENDS="libpcap"
9 MAINTAINER="sdaigl@lacitec.on.ca"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.tcpdump.org/"
12 WGET_URL="http://www.tcpdump.org/release/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/sbin $fs/usr
29 strip -s $fs/usr/sbin/*
30 }