wok-next view tcpdump/receipt @ rev 17845
Add gcc49
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 24 08:43:01 2015 +0100 (2015-03-24) |
parents | c7810eb60fd9 |
children | e6615350078d |
line source
1 # SliTaz package receipt.
3 PACKAGE="tcpdump"
4 VERSION="4.4.0"
5 CATEGORY="security"
6 SHORT_DESC="cli wire sniffer"
7 MAINTAINER="sdaigl@lacitec.on.ca"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.tcpdump.org/"
11 WGET_URL="http://www.tcpdump.org/release/$TARBALL"
12 TAGS="network security"
14 DEPENDS="libcrypto openssl libpcap"
15 BUILD_DEPENDS="libpcap libpcap-dev openssl-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --mandir=/usr/share/man $CONFIGURE_ARGS
23 make
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/sbin $fs/usr
32 }