wok-6.x view conntrack-tools/receipt @ rev 21413

conntrack-tools, flashrom: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 23 18:26:21 2019 +0200 (2019-04-23)
parents 93fdae86db64
children 3f7f1ad4e622
line source
1 # SliTaz package receipt.
3 PACKAGE="conntrack-tools"
4 VERSION="1.4.2"
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://$PACKAGE.netfilter.org/"
11 WGET_URL="http://www.netfilter.org/projects/$PACKAGE/files/$TARBALL"
13 DEPENDS="libnfnetlink libnetfilter_conntrack libnetfilter_queue \
14 libnetfilter_cthelper libmnl"
15 BUILD_DEPENDS="glib-dev libnfnetlink-dev libmnl-dev libnetfilter_conntrack-dev \
16 libnetfilter_cttimeout-dev libnetfilter_cthelper-dev libnetfilter_queue-dev \
17 bison flex pkg-config"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i '/enum ip_conntrack_info {/,/};/d' include/helper.h
23 ./configure \
24 --prefix=/usr \
25 --mandir=/usr/share/man \
26 $CONFIGURE_ARGS &&
27 make && make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/sbin $fs/sbin
35 cp -a $install/usr/lib $fs/usr
36 }