wok annotate ipset/receipt @ rev 24652
updated i3 and i3-man (4.19.2 -> 4.20.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 06:27:26 2022 +0100 (2022-03-11) |
parents | 9f5504597c0b |
children | 5c32fbe35985 |
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@24433 | 17 # What is the latest version available today? |
pascal@24433 | 18 current_version() |
pascal@24433 | 19 { |
pascal@24433 | 20 wget -O - ${WGET_URL%/*}/install.html 2>/dev/null | \ |
pascal@24433 | 21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24433 | 22 } |
pascal@24433 | 23 |
pascal@20038 | 24 # Rules to configure and make the package. |
pascal@20038 | 25 compile_rules() |
pascal@20038 | 26 { |
pascal@20038 | 27 KVERSION=$(grep ^VERSION= $WOK/linux/receipt | cut -d '"' -f 2)-slitaz |
Hans-G?nter@22956 | 28 sed -i "s/uname -r/echo $KVERSION/" \ |
Hans-G?nter@22956 | 29 configure |
Hans-G?nter@21059 | 30 |
Hans-G?nter@21059 | 31 ./configure \ |
Hans-G?nter@21059 | 32 --prefix=/usr \ |
pascal@20038 | 33 $CONFIGURE_ARGS && |
Hans-G?nter@21059 | 34 make -j 1 && |
pascal@20038 | 35 make DESTDIR=$DESTDIR install |
pascal@20038 | 36 } |
pascal@20038 | 37 |
pascal@20038 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20038 | 39 genpkg_rules() |
pascal@20038 | 40 { |
pascal@20038 | 41 mkdir -p $fs/usr/lib |
Hans-G?nter@21059 | 42 |
Hans-G?nter@21059 | 43 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@21059 | 44 cp -a $install/usr/sbin $fs/usr |
pascal@20038 | 45 } |