wok-next annotate libnetfilter_queue/receipt @ rev 18695
Add Science category to App menu (thanks Aleksej for help and guidance)
author | Lucas Levrel <llevrel@yahoo.fr> |
---|---|
date | Sun Dec 13 23:02:47 2015 +0100 (2015-12-13) |
parents | cee6bfbde760 |
children | 0a667524ce79 |
rev | line source |
---|---|
pascal@9984 | 1 # SliTaz package receipt. |
pascal@9984 | 2 |
pascal@9984 | 3 PACKAGE="libnetfilter_queue" |
samuel_trassare@14142 | 4 VERSION="1.0.2" |
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" |
pascal@9984 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@9984 | 10 WEB_SITE="http://www.netfilter.org/projects/$PACKAGE/" |
pascal@9984 | 11 WGET_URL="${WEB_SITE}files/$TARBALL" |
pascal@14714 | 12 |
pascal@9984 | 13 DEPENDS="libnfnetlink" |
samuel_trassare@14142 | 14 BUILD_DEPENDS="libnfnetlink-dev libmnl-dev" |
pascal@9984 | 15 |
pascal@9984 | 16 # Rules to configure and make the package. |
pascal@9984 | 17 compile_rules() |
pascal@9984 | 18 { |
samuel_trassare@14144 | 19 ./configure \ |
samuel_trassare@14144 | 20 --prefix=/usr \ |
samuel_trassare@14144 | 21 $CONFIGURE_ARGS && |
pascal@9984 | 22 make && |
pascal@9984 | 23 make DESTDIR=$DESTDIR install |
pascal@9984 | 24 } |
pascal@9984 | 25 |
pascal@9984 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9984 | 27 genpkg_rules() |
pascal@9984 | 28 { |
pascal@9984 | 29 mkdir -p $fs/usr/lib |
samuel_trassare@14142 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@9984 | 31 } |