wok-6.x annotate libnfnetlink/receipt @ rev 9983
Add libnfnetlink
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 18 23:30:52 2011 +0200 (2011-05-18) |
parents | |
children | b7319995b37e |
rev | line source |
---|---|
pascal@9983 | 1 # SliTaz package receipt. |
pascal@9983 | 2 |
pascal@9983 | 3 PACKAGE="libnfnetlink" |
pascal@9983 | 4 VERSION="1.0.0" |
pascal@9983 | 5 CATEGORY="network" |
pascal@9983 | 6 SHORT_DESC="Low-level library for netfilter related kernel/userspace communication." |
pascal@9983 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@9983 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@9983 | 9 WEB_SITE="http://www.netfilter.org/projects/$PACKAGE/" |
pascal@9983 | 10 WGET_URL="${WEB_SITE}files/$TARBALL" |
pascal@9983 | 11 |
pascal@9983 | 12 # Rules to configure and make the package. |
pascal@9983 | 13 compile_rules() |
pascal@9983 | 14 { |
pascal@9983 | 15 cd $src |
pascal@9983 | 16 ./configure --prefix=/usr && |
pascal@9983 | 17 make && |
pascal@9983 | 18 make DESTDIR=$DESTDIR install |
pascal@9983 | 19 } |
pascal@9983 | 20 |
pascal@9983 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9983 | 22 genpkg_rules() |
pascal@9983 | 23 { |
pascal@9983 | 24 mkdir -p $fs/usr/lib |
pascal@9983 | 25 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@9983 | 26 } |