wok-next annotate conntrack-tools/receipt @ rev 19600
Up cookutils (869)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jan 23 11:20:11 2017 +0200 (2017-01-23) |
parents | |
children | d43bf7aae921 |
rev | line source |
---|---|
pascal@17287 | 1 # SliTaz package receipt. |
pascal@17287 | 2 |
pascal@17287 | 3 PACKAGE="conntrack-tools" |
pascal@17287 | 4 VERSION="1.4.2" |
pascal@17287 | 5 CATEGORY="security" |
pascal@17287 | 6 SHORT_DESC="userspace tools to interact with the Connection Tracking System." |
pascal@17287 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17287 | 8 LICENSE="GPL2" |
pascal@17287 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@17287 | 10 WEB_SITE="http://$PACKAGE.netfilter.org/" |
pascal@17287 | 11 WGET_URL="http://www.netfilter.org/projects/$PACKAGE/files/$TARBALL" |
pascal@17287 | 12 |
pascal@17287 | 13 DEPENDS="libnfnetlink libnetfilter_conntrack libnetfilter_queue \ |
pascal@17287 | 14 libnetfilter_cthelper libmnl" |
pascal@17287 | 15 BUILD_DEPENDS="glib-dev libnfnetlink-dev libmnl-dev libnetfilter_conntrack-dev \ |
pascal@17287 | 16 libnetfilter_cttimeout-dev libnetfilter_cthelper-dev libnetfilter_queue-dev \ |
pascal@17287 | 17 bison flex pkg-config" |
pascal@17287 | 18 |
pascal@17287 | 19 # Rules to configure and make the package. |
pascal@17287 | 20 compile_rules() |
pascal@17287 | 21 { |
pascal@17287 | 22 ./configure \ |
pascal@17287 | 23 --prefix=/usr \ |
pascal@17287 | 24 --mandir=/usr/share/man \ |
pascal@17287 | 25 $CONFIGURE_ARGS && |
pascal@17287 | 26 make && make DESTDIR=$DESTDIR install |
pascal@17287 | 27 } |
pascal@17287 | 28 |
pascal@17287 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17287 | 30 genpkg_rules() |
pascal@17287 | 31 { |
pascal@17287 | 32 mkdir -p $fs/usr |
pascal@17287 | 33 cp -a $install/usr/sbin $fs/sbin |
pascal@17287 | 34 cp -a $install/usr/lib $fs/usr |
pascal@17287 | 35 } |