wok annotate ipset/receipt @ rev 23985

linld: up to 60k for header.com
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 28 09:45:01 2020 +0000 (2020-11-28)
parents c697de7825ae
children ad8b9ff412d2
rev   line source
pascal@20038 1 # SliTaz package receipt.
pascal@20038 2
pascal@20038 3 PACKAGE="ipset"
Hans-G?nter@22956 4 VERSION="7.6"
pascal@20038 5 CATEGORY="security"
Hans-G?nter@21059 6 SHORT_DESC="High speed match for an entry against a set of firewall rules."
pascal@20038 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20038 8 LICENSE="GPL2"
Hans-G?nter@21059 9 WEB_SITE="http://ipset.netfilter.org/"
Hans-G?nter@21059 10
pascal@20038 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20038 12 WGET_URL="${WEB_SITE}$TARBALL"
pascal@20038 13
pascal@20038 14 DEPENDS="libmnl"
Hans-G?nter@22956 15 BUILD_DEPENDS="libltdl libmnl-dev linux-module-headers pkg-config"
pascal@20038 16
pascal@20038 17 # Rules to configure and make the package.
pascal@20038 18 compile_rules()
pascal@20038 19 {
pascal@20038 20 KVERSION=$(grep ^VERSION= $WOK/linux/receipt | cut -d '"' -f 2)-slitaz
Hans-G?nter@22956 21 sed -i "s/uname -r/echo $KVERSION/" \
Hans-G?nter@22956 22 configure
Hans-G?nter@21059 23
Hans-G?nter@21059 24 ./configure \
Hans-G?nter@21059 25 --prefix=/usr \
pascal@20038 26 $CONFIGURE_ARGS &&
Hans-G?nter@21059 27 make -j 1 &&
pascal@20038 28 make DESTDIR=$DESTDIR install
pascal@20038 29 }
pascal@20038 30
pascal@20038 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20038 32 genpkg_rules()
pascal@20038 33 {
pascal@20038 34 mkdir -p $fs/usr/lib
Hans-G?nter@21059 35
Hans-G?nter@21059 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@21059 37 cp -a $install/usr/sbin $fs/usr
pascal@20038 38 }