wok rev 16354
Add tcptrack
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Apr 13 17:40:06 2014 +0100 (2014-04-13) |
parents | 82b8421492de |
children | 106b0d0555d0 |
files | tcptrack/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tcptrack/receipt Sun Apr 13 17:40:06 2014 +0100 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="tcptrack" 1.7 +VERSION="1.4.2" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="TCP connection tracker." 1.10 +MAINTAINER="paul@slitaz.org" 1.11 +LICENSE="GPL2.1" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://freecode.com/projects/tcptrack" 1.14 +WGET_URL="http://pkgs.fedoraproject.org/repo/pkgs/tcptrack/tcptrack-1.4.2.tar.gz/dacf71a6b5310caf1203a2171b598610/$TARBALL" 1.15 + 1.16 +DEPENDS="ncurses libpcap" 1.17 +BUILD_DEPENDS="ncurses-dev libpcap-dev" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src 1.23 + ./configure \ 1.24 + --prefix=/usr \ 1.25 + --mandir=/usr/share/man \ 1.26 + $CONFIGURE_ARGS && 1.27 + make && make DESTDIR=$DESTDIR install 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + mkdir -p $fs/usr 1.34 + cp -a $install/usr/bin $fs/usr 1.35 +} 1.36 +