wok annotate libnetfilter_conntrack/receipt @ rev 24594
updated getmail (5.14 -> 5.16)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 01 15:05:47 2022 +0100 (2022-03-01) |
parents | ec0d5b9e9b24 |
children | cd7e29388d40 |
rev | line source |
---|---|
paul@17101 | 1 # SliTaz package receipt. |
paul@17101 | 2 |
paul@17101 | 3 PACKAGE="libnetfilter_conntrack" |
Hans-G?nter@24432 | 4 VERSION="1.0.8" |
paul@17101 | 5 CATEGORY="network" |
paul@17101 | 6 SHORT_DESC="Library providing an API to the in-kernel connection tracking state table." |
paul@17101 | 7 MAINTAINER="paul@slitaz.org" |
paul@17101 | 8 LICENSE="GPL2" |
Hans-G?nter@21262 | 9 WEB_SITE="https://www.netfilter.org/projects/libnetfilter_conntrack/" |
Hans-G?nter@21262 | 10 |
paul@17101 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@21262 | 12 WGET_URL="https://www.netfilter.org/projects/$PACKAGE/files/$TARBALL" |
Hans-G?nter@21262 | 13 |
Hans-G?nter@21262 | 14 DEPENDS="libmnl libnfnetlink" |
Hans-G?nter@21262 | 15 BUILD_DEPENDS="libmnl-dev libnfnetlink-dev" |
paul@17101 | 16 |
pascal@24433 | 17 # What is the latest version available today? |
pascal@24433 | 18 current_version() |
pascal@24433 | 19 { |
pascal@24433 | 20 wget -O - https://www.netfilter.org/pub/libnetfilter_conntrack/ 2>/dev/null | \ |
pascal@24433 | 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24433 | 22 } |
pascal@24433 | 23 |
paul@17101 | 24 # Rules to configure and make the package. |
paul@17101 | 25 compile_rules() |
paul@17101 | 26 { |
Hans-G?nter@21262 | 27 ./configure \ |
Hans-G?nter@21262 | 28 --prefix=/usr \ |
paul@17101 | 29 $CONFIGURE_ARGS && |
Hans-G?nter@24432 | 30 make && |
paul@17101 | 31 make DESTDIR=$DESTDIR install |
paul@17101 | 32 } |
paul@17101 | 33 |
paul@17101 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@17101 | 35 genpkg_rules() |
paul@17101 | 36 { |
Hans-G?nter@24432 | 37 cook_copy_files *.so* |
paul@17101 | 38 } |