wok rev 17287

Add conntrack-tools
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 27 12:48:51 2014 +0100 (2014-10-27)
parents 8c9672462053
children 79ec1d5b20e4
files conntrack-tools/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/conntrack-tools/receipt	Mon Oct 27 12:48:51 2014 +0100
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="conntrack-tools"
     1.7 +VERSION="1.4.2"
     1.8 +CATEGORY="security"
     1.9 +SHORT_DESC="userspace tools to interact with the Connection Tracking System."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.13 +WEB_SITE="http://$PACKAGE.netfilter.org/"
    1.14 +WGET_URL="http://www.netfilter.org/projects/$PACKAGE/files/$TARBALL"
    1.15 +
    1.16 +DEPENDS="libnfnetlink libnetfilter_conntrack libnetfilter_queue \
    1.17 +libnetfilter_cthelper libmnl"
    1.18 +BUILD_DEPENDS="glib-dev libnfnetlink-dev libmnl-dev libnetfilter_conntrack-dev \
    1.19 +libnetfilter_cttimeout-dev libnetfilter_cthelper-dev libnetfilter_queue-dev \
    1.20 +bison flex pkg-config"
    1.21 +
    1.22 +# Rules to configure and make the package.
    1.23 +compile_rules()
    1.24 +{
    1.25 +	./configure \
    1.26 +		--prefix=/usr \
    1.27 +		--mandir=/usr/share/man \
    1.28 +		$CONFIGURE_ARGS &&
    1.29 +	make && make DESTDIR=$DESTDIR install
    1.30 +}
    1.31 +
    1.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 +genpkg_rules()
    1.34 +{
    1.35 +	mkdir -p $fs/usr
    1.36 +	cp -a $install/usr/sbin $fs/sbin
    1.37 +	cp -a $install/usr/lib $fs/usr
    1.38 +}