# SliTaz package receipt.

PACKAGE="libnfnetlink"
VERSION="1.0.0"
CATEGORY="network"
SHORT_DESC="Low-level library for netfilter related kernel/userspace communication."
MAINTAINER="pascal.bellard@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.netfilter.org/projects/$PACKAGE/"
WGET_URL="${WEB_SITE}files/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure --prefix=/usr $CONFIGURE_ARGS &&
	make &&
	make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/lib
	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
}