wok-current annotate conntrack-tools/receipt @ rev 21477
libsdl2-mixer-dev: add pkgconfig
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Wed May 01 03:31:44 2019 -0400 (2019-05-01) |
parents | 93fdae86db64 |
children | 3f7f1ad4e622 |
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@21413 | 22 sed -i '/enum ip_conntrack_info {/,/};/d' include/helper.h |
pascal@17287 | 23 ./configure \ |
pascal@17287 | 24 --prefix=/usr \ |
pascal@17287 | 25 --mandir=/usr/share/man \ |
pascal@17287 | 26 $CONFIGURE_ARGS && |
pascal@17287 | 27 make && make DESTDIR=$DESTDIR install |
pascal@17287 | 28 } |
pascal@17287 | 29 |
pascal@17287 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17287 | 31 genpkg_rules() |
pascal@17287 | 32 { |
pascal@17287 | 33 mkdir -p $fs/usr |
pascal@17287 | 34 cp -a $install/usr/sbin $fs/sbin |
pascal@17287 | 35 cp -a $install/usr/lib $fs/usr |
pascal@17287 | 36 } |