wok-current view ipset/receipt @ rev 21640
updated openspades (0.0.12 -> 0.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Wed May 29 16:59:50 2019 +0100 (2019-05-29) |
parents | d79fd0c7512f |
children | 9f5504597c0b |
line source
1 # SliTaz package receipt.
3 PACKAGE="ipset"
4 VERSION="7.1"
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="linux-module-headers libltdl libmnl-dev 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/" configure
23 ./configure \
24 --prefix=/usr \
25 $CONFIGURE_ARGS &&
26 make -j 1 &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 cp -a $install/usr/sbin $fs/usr
37 }