wok annotate libnetfilter_queue/receipt @ rev 24560

updated fossil (2.12.1 -> 2.18)
author Hans-G?nter Theisgen
date Fri Feb 25 16:12:40 2022 +0100 (2022-02-25)
parents 562fee6af57b
children 51bade57b660
rev   line source
pascal@9984 1 # SliTaz package receipt.
pascal@9984 2
pascal@9984 3 PACKAGE="libnetfilter_queue"
Hans-G?nter@21263 4 VERSION="1.0.3"
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@21263 30 make -j 1 &&
pascal@9984 31 make DESTDIR=$DESTDIR install
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 {
pascal@9984 37 mkdir -p $fs/usr/lib
samuel_trassare@14142 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@9984 39 }