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