wok rev 9983

Add libnfnetlink
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 18 23:30:52 2011 +0200 (2011-05-18)
parents 5ef0e9e004f3
children f6ab11a960e4
files libnfnetlink/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libnfnetlink/receipt	Wed May 18 23:30:52 2011 +0200
     1.3 @@ -0,0 +1,26 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libnfnetlink"
     1.7 +VERSION="1.0.0"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Low-level library for netfilter related kernel/userspace communication."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12 +WEB_SITE="http://www.netfilter.org/projects/$PACKAGE/"
    1.13 +WGET_URL="${WEB_SITE}files/$TARBALL"
    1.14 +
    1.15 +# Rules to configure and make the package.
    1.16 +compile_rules()
    1.17 +{
    1.18 +	cd $src
    1.19 +	./configure --prefix=/usr &&
    1.20 +	make &&
    1.21 +	make DESTDIR=$DESTDIR install
    1.22 +}
    1.23 +
    1.24 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.25 +genpkg_rules()
    1.26 +{
    1.27 +	mkdir -p $fs/usr/lib
    1.28 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.29 +}