wok view conntrack-tools/receipt @ rev 23945
Up slitaz-base-files (342)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 18 18:47:32 2020 +0000 (2020-09-18) |
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 }