wok-6.x annotate conntrack-tools/receipt @ rev 22732
updated desktop-file-utils and desktop-file-utils-extra (0.23 -> 0.24)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 23 16:42:28 2020 +0100 (2020-01-23) |
parents | 02f84d387161 |
children | 83b97236db32 |
rev | line source |
---|---|
pascal@17287 | 1 # SliTaz package receipt. |
pascal@17287 | 2 |
pascal@17287 | 3 PACKAGE="conntrack-tools" |
Hans-G?nter@22615 | 4 VERSION="1.4.5" |
pascal@17287 | 5 CATEGORY="security" |
Hans-G?nter@22615 | 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" |
Hans-G?nter@22615 | 9 WEB_SITE="https://www.netfilter.org/projects/conntrack-tools/" |
Hans-G?nter@22615 | 10 |
pascal@17287 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@22615 | 12 WGET_URL="${WEB_SITE}files/$TARBALL" |
pascal@17287 | 13 |
Hans-G?nter@22615 | 14 DEPENDS="libmnl libnetfilter_conntrack libnetfilter_cthelper |
Hans-G?nter@22615 | 15 libnetfilter_queue libnfnetlink" |
Hans-G?nter@22615 | 16 BUILD_DEPENDS="bison flex glib-dev libmnl-dev libnetfilter_conntrack-dev |
Hans-G?nter@22615 | 17 libnetfilter_cthelper-dev libnetfilter_cttimeout-dev |
Hans-G?nter@22615 | 18 libnetfilter_queue-dev libnfnetlink-dev pkg-config" |
pascal@17287 | 19 |
pascal@17287 | 20 # Rules to configure and make the package. |
pascal@17287 | 21 compile_rules() |
pascal@17287 | 22 { |
Hans-G?nter@22615 | 23 sed -i '/enum ip_conntrack_info {/,/};/d' \ |
Hans-G?nter@22615 | 24 include/helper.h |
Hans-G?nter@22615 | 25 |
Hans-G?nter@22615 | 26 ./configure \ |
Hans-G?nter@22615 | 27 --prefix=/usr \ |
Hans-G?nter@22615 | 28 --mandir=/usr/share/man \ |
pascal@17287 | 29 $CONFIGURE_ARGS && |
Hans-G?nter@22615 | 30 make && |
Hans-G?nter@22615 | 31 make DESTDIR=$DESTDIR install |
pascal@17287 | 32 } |
pascal@17287 | 33 |
pascal@17287 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17287 | 35 genpkg_rules() |
pascal@17287 | 36 { |
pascal@17287 | 37 mkdir -p $fs/usr |
Hans-G?nter@22615 | 38 |
Hans-G?nter@22615 | 39 cp -a $install/usr/sbin $fs/sbin |
Hans-G?nter@22615 | 40 cp -a $install/usr/lib $fs/usr |
pascal@17287 | 41 } |