wok annotate ipset/receipt @ rev 25396
updated vidalia (0.2.21 -> 0.3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Aug 02 10:16:02 2022 +0100 (2022-08-02) |
parents | ad8b9ff412d2 |
children |
rev | line source |
---|---|
pascal@20038 | 1 # SliTaz package receipt. |
pascal@20038 | 2 |
pascal@20038 | 3 PACKAGE="ipset" |
Hans-G?nter@24672 | 4 VERSION="7.15" |
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@24672 | 9 WEB_SITE="https://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@24672 | 15 BUILD_DEPENDS="linux-module-headers libltdl libmnl-dev 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@24672 | 28 sed -i "s|uname -r|echo $KVERSION|" configure |
Hans-G?nter@21059 | 29 |
Hans-G?nter@21059 | 30 ./configure \ |
Hans-G?nter@21059 | 31 --prefix=/usr \ |
pascal@20038 | 32 $CONFIGURE_ARGS && |
Hans-G?nter@24672 | 33 make && |
Hans-G?nter@24672 | 34 make install DESTDIR=$DESTDIR |
pascal@20038 | 35 } |
pascal@20038 | 36 |
pascal@20038 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20038 | 38 genpkg_rules() |
pascal@20038 | 39 { |
Hans-G?nter@24672 | 40 cook_copy_folders sbin |
Hans-G?nter@24672 | 41 cook_copy_files *.so* |
pascal@20038 | 42 } |