wok-6.x annotate libnetfilter_queue/receipt @ rev 9984
Add libnetfilter_queue
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 18 23:31:19 2011 +0200 (2011-05-18) |
parents | |
children | 4504f2aeb11e |
rev | line source |
---|---|
pascal@9984 | 1 # SliTaz package receipt. |
pascal@9984 | 2 |
pascal@9984 | 3 PACKAGE="libnetfilter_queue" |
pascal@9984 | 4 VERSION="1.0.0" |
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@9984 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@9984 | 9 WEB_SITE="http://www.netfilter.org/projects/$PACKAGE/" |
pascal@9984 | 10 WGET_URL="${WEB_SITE}files/$TARBALL" |
pascal@9984 | 11 DEPENDS="libnfnetlink" |
pascal@9984 | 12 BUILD_DEPENDS="libnfnetlink" |
pascal@9984 | 13 |
pascal@9984 | 14 # Rules to configure and make the package. |
pascal@9984 | 15 compile_rules() |
pascal@9984 | 16 { |
pascal@9984 | 17 cd $src |
pascal@9984 | 18 ./configure --prefix=/usr && |
pascal@9984 | 19 make && |
pascal@9984 | 20 make DESTDIR=$DESTDIR install |
pascal@9984 | 21 } |
pascal@9984 | 22 |
pascal@9984 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9984 | 24 genpkg_rules() |
pascal@9984 | 25 { |
pascal@9984 | 26 mkdir -p $fs/usr/lib |
pascal@9984 | 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@9984 | 28 } |