wok annotate ipset/receipt @ rev 22491
updated apr and apr-dev (1.4.6 -> 1.7.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 31 14:21:42 2019 +0100 (2019-12-31) |
parents | d79fd0c7512f |
children | 9f5504597c0b |
rev | line source |
---|---|
pascal@20038 | 1 # SliTaz package receipt. |
pascal@20038 | 2 |
pascal@20038 | 3 PACKAGE="ipset" |
Hans-G?nter@21059 | 4 VERSION="7.1" |
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" |
pascal@20038 | 15 BUILD_DEPENDS="linux-module-headers libltdl libmnl-dev 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 |
pascal@20038 | 21 sed -i "s/uname -r/echo $KVERSION/" configure |
Hans-G?nter@21059 | 22 |
Hans-G?nter@21059 | 23 ./configure \ |
Hans-G?nter@21059 | 24 --prefix=/usr \ |
pascal@20038 | 25 $CONFIGURE_ARGS && |
Hans-G?nter@21059 | 26 make -j 1 && |
pascal@20038 | 27 make DESTDIR=$DESTDIR install |
pascal@20038 | 28 } |
pascal@20038 | 29 |
pascal@20038 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20038 | 31 genpkg_rules() |
pascal@20038 | 32 { |
pascal@20038 | 33 mkdir -p $fs/usr/lib |
Hans-G?nter@21059 | 34 |
Hans-G?nter@21059 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@21059 | 36 cp -a $install/usr/sbin $fs/usr |
pascal@20038 | 37 } |