# HG changeset patch # User Paul Issott # Date 1397407206 -3600 # Node ID 0a1bd2c2da420f1e761e63c70ed8bae82e7ce768 # Parent 82b8421492de4fc5428e108b546360c954444ae2 Add tcptrack diff -r 82b8421492de -r 0a1bd2c2da42 tcptrack/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tcptrack/receipt Sun Apr 13 17:40:06 2014 +0100 @@ -0,0 +1,33 @@ +# SliTaz package receipt. + +PACKAGE="tcptrack" +VERSION="1.4.2" +CATEGORY="network" +SHORT_DESC="TCP connection tracker." +MAINTAINER="paul@slitaz.org" +LICENSE="GPL2.1" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://freecode.com/projects/tcptrack" +WGET_URL="http://pkgs.fedoraproject.org/repo/pkgs/tcptrack/tcptrack-1.4.2.tar.gz/dacf71a6b5310caf1203a2171b598610/$TARBALL" + +DEPENDS="ncurses libpcap" +BUILD_DEPENDS="ncurses-dev libpcap-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/bin $fs/usr +} +