wok annotate libnetfilter_conntrack/receipt @ rev 24981
Up pce (20220220-991c55d9)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 08 10:57:53 2022 +0000 (2022-05-08) |
parents | ad8b9ff412d2 |
children |
rev | line source |
---|---|
paul@17101 | 1 # SliTaz package receipt. |
paul@17101 | 2 |
paul@17101 | 3 PACKAGE="libnetfilter_conntrack" |
Hans-G?nter@24812 | 4 VERSION="1.0.9" |
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 && |
Hans-G?nter@24812 | 31 make install DESTDIR=$DESTDIR |
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 } |