wok-current view tcpdump/receipt @ rev 19199

gucharmap: fix packaging
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 09 00:34:10 2016 +0300 (2016-06-09)
parents c7810eb60fd9
children 2448da3bb9c5
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 }