wok annotate libnetfilter_queue/receipt @ rev 24972
Up lzsa (1.3.11)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 01 08:42:44 2022 +0000 (2022-05-01) |
parents | 83b97236db32 |
children |
rev | line source |
---|---|
pascal@9984 | 1 # SliTaz package receipt. |
pascal@9984 | 2 |
pascal@9984 | 3 PACKAGE="libnetfilter_queue" |
Hans-G?nter@24813 | 4 VERSION="1.0.5" |
pascal@9984 | 5 CATEGORY="network" |
pascal@9984 | 6 SHORT_DESC="API to packets that have been queued by the kernel packet filter." |
pascal@9984 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14714 | 8 LICENSE="GPL2" |
Hans-G?nter@21263 | 9 WEB_SITE="https://www.netfilter.org/projects/$PACKAGE/" |
Hans-G?nter@21263 | 10 |
pascal@9984 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@9984 | 12 WGET_URL="${WEB_SITE}files/$TARBALL" |
pascal@14714 | 13 |
pascal@9984 | 14 DEPENDS="libnfnetlink" |
Hans-G?nter@21263 | 15 BUILD_DEPENDS="libmnl-dev libnfnetlink-dev" |
pascal@9984 | 16 |
pascal@24427 | 17 # What is the latest version available today? |
pascal@24427 | 18 current_version() |
pascal@24427 | 19 { |
pascal@24427 | 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24427 | 21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24427 | 22 } |
pascal@24427 | 23 |
pascal@9984 | 24 # Rules to configure and make the package. |
pascal@9984 | 25 compile_rules() |
pascal@9984 | 26 { |
Hans-G?nter@21263 | 27 ./configure \ |
Hans-G?nter@21263 | 28 --prefix=/usr \ |
samuel_trassare@14144 | 29 $CONFIGURE_ARGS && |
Hans-G?nter@24813 | 30 make && |
Hans-G?nter@24813 | 31 make install DESTDIR=$DESTDIR |
pascal@9984 | 32 } |
pascal@9984 | 33 |
pascal@9984 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9984 | 35 genpkg_rules() |
pascal@9984 | 36 { |
Hans-G?nter@24813 | 37 cook_copy_files *.so* |
pascal@9984 | 38 } |