wok view ipset/receipt @ rev 20375

I. nagios update: 3.5.0 (March 15, 2013) -> 3.5.1 (2013-08-30) II. typo
author Erkan Yilmaz <erkan@slitaz.org>
date Wed Jun 13 07:19:54 2018 +0000 (2018-06-13)
parents
children c697de7825ae
line source
1 # SliTaz package receipt.
3 PACKAGE="ipset"
4 VERSION="6.32"
5 CATEGORY="security"
6 SHORT_DESC="Hi speed match for an entry against a set of firewall rules."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://ipset.netfilter.org/"
11 WGET_URL="${WEB_SITE}$TARBALL"
13 DEPENDS="libmnl"
14 BUILD_DEPENDS="linux-module-headers libltdl libmnl-dev pkg-config"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 KVERSION=$(grep ^VERSION= $WOK/linux/receipt | cut -d '"' -f 2)-slitaz
20 sed -i "s/uname -r/echo $KVERSION/" configure
21 ./configure --prefix=/usr \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 cp -a $install/usr/sbin $fs/usr
33 }