wok view libnetfilter_queue/receipt @ rev 24712
updated less (551 -> 590)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 14 17:50:02 2022 +0100 (2022-03-14) |
parents | 562fee6af57b |
children | 51bade57b660 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libnetfilter_queue"
4 VERSION="1.0.3"
5 CATEGORY="network"
6 SHORT_DESC="API to packets that have been queued by the kernel packet filter."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.netfilter.org/projects/$PACKAGE/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="${WEB_SITE}files/$TARBALL"
14 DEPENDS="libnfnetlink"
15 BUILD_DEPENDS="libmnl-dev libnfnetlink-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 $CONFIGURE_ARGS &&
30 make -j 1 &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }