wok-current view conntrack-tools/receipt @ rev 23846

created recipe for python-random2
author Hans-G?nter Theisgen
date Sat Jun 13 15:49:44 2020 +0100 (2020-06-13)
parents 02f84d387161
children 83b97236db32
line source
1 # SliTaz package receipt.
3 PACKAGE="conntrack-tools"
4 VERSION="1.4.5"
5 CATEGORY="security"
6 SHORT_DESC="Userspace tools to interact with the Connection Tracking System."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.netfilter.org/projects/conntrack-tools/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="${WEB_SITE}files/$TARBALL"
14 DEPENDS="libmnl libnetfilter_conntrack libnetfilter_cthelper
15 libnetfilter_queue libnfnetlink"
16 BUILD_DEPENDS="bison flex glib-dev libmnl-dev libnetfilter_conntrack-dev
17 libnetfilter_cthelper-dev libnetfilter_cttimeout-dev
18 libnetfilter_queue-dev libnfnetlink-dev pkg-config"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sed -i '/enum ip_conntrack_info {/,/};/d' \
24 include/helper.h
26 ./configure \
27 --prefix=/usr \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
39 cp -a $install/usr/sbin $fs/sbin
40 cp -a $install/usr/lib $fs/usr
41 }