wok-next diff libnetfilter_queue/receipt @ rev 20146
Up qemu-light (2.0.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 01 11:50:08 2017 +0100 (2017-11-01) |
parents | 4904e3d374a9 |
children | 5841522533ec |
line diff
1.1 --- a/libnetfilter_queue/receipt Tue Jun 11 10:41:23 2013 +0200 1.2 +++ b/libnetfilter_queue/receipt Wed Nov 01 11:50:08 2017 +0100 1.3 @@ -1,31 +1,32 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="libnetfilter_queue" 1.8 VERSION="1.0.2" 1.9 CATEGORY="network" 1.10 -SHORT_DESC="API to packets that have been queued by the kernel packet filter." 1.11 +SHORT_DESC="API to packets that have been queued by the kernel packet filter" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="http://www.netfilter.org/projects/libnetfilter_queue/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.17 -WEB_SITE="http://www.netfilter.org/projects/$PACKAGE/" 1.18 -WGET_URL="${WEB_SITE}files/$TARBALL" 1.19 +WGET_URL="http://www.netfilter.org/projects/libnetfilter_queue/files/$TARBALL" 1.20 1.21 -DEPENDS="libnfnetlink" 1.22 BUILD_DEPENDS="libnfnetlink-dev libmnl-dev" 1.23 +SPLIT="libnetfilter_queue-dev" 1.24 1.25 -# Rules to configure and make the package. 1.26 -compile_rules() 1.27 -{ 1.28 - ./configure \ 1.29 - --prefix=/usr \ 1.30 - $CONFIGURE_ARGS && 1.31 - make && 1.32 - make DESTDIR=$DESTDIR install 1.33 +compile_rules() { 1.34 + ./configure $CONFIGURE_ARGS && make && make install 1.35 } 1.36 1.37 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.38 -genpkg_rules() 1.39 -{ 1.40 - mkdir -p $fs/usr/lib 1.41 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.42 +genpkg_rules() { 1.43 + case $PACKAGE in 1.44 + libnetfilter_queue) 1.45 + copy @std 1.46 + DEPENDS="libmnl libnfnetlink" 1.47 + ;; 1.48 + *-dev) 1.49 + copy @dev 1.50 + DEPENDS="libnetfilter_queue libmnl-dev libnfnetlink-dev" 1.51 + ;; 1.52 + esac 1.53 }