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

grub2: avoid grub-mkimage error: decompressor is too big
author Hans-G?nter Theisgen
date Sat Apr 02 17:25:58 2022 +0100 (2022-04-02)
parents 5e0b3308e1ad
children
line source
1 # SliTaz package receipt.
3 PACKAGE="conntrack-tools"
4 VERSION="1.4.6"
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 libnetfilter_queue
15 libnfnetlink"
16 BUILD_DEPENDS="bison flex glib-dev libmnl-dev libnetfilter_conntrack-dev
17 libnetfilter_cthelper-dev libnetfilter_cttimeout-dev libnetfilter_queue-dev
18 libnfnetlink-dev pkg-config"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/*} 2>/dev/null | \
24 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 sed -i '/enum ip_conntrack_info {/,/};/d' \
31 include/helper.h
33 ./configure \
34 --prefix=/usr \
35 --mandir=/usr/share/man \
36 $CONFIGURE_ARGS &&
37 make &&
38 make install DESTDIR=$DESTDIR
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 cook_copy_folders lib
45 cook_copy_folders sbin
46 }