# HG changeset patch # User Pascal Bellard # Date 1414409256 -3600 # Node ID 8c9672462053df0b6b4348ef7f7976bd98ca71ba # Parent 8ceab72d58169db2789b2bda59587dea857fa5ec Add libnetfilter_cthelper diff -r 8ceab72d5816 -r 8c9672462053 libnetfilter_cthelper-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libnetfilter_cthelper-dev/receipt Mon Oct 27 12:27:36 2014 +0100 @@ -0,0 +1,22 @@ +# SliTaz package receipt. + +PACKAGE="libnetfilter_cthelper-dev" +VERSION="1.0.0" +CATEGORY="development" +SHORT_DESC="API to the user-space helper infrastructure, development files." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://www.netfilter.org/projects/$PACKAGE/" +WANTED="libnetfilter_cthelper" + +DEPENDS="libnetfilter_cthelper" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/*a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib +} diff -r 8ceab72d5816 -r 8c9672462053 libnetfilter_cthelper/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libnetfilter_cthelper/receipt Mon Oct 27 12:27:36 2014 +0100 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="libnetfilter_cthelper" +VERSION="1.0.0" +CATEGORY="network" +SHORT_DESC="API to the user-space helper infrastructure." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://www.netfilter.org/projects/$PACKAGE/" +WGET_URL="${WEB_SITE}files/$TARBALL" + +DEPENDS="libmnl" +BUILD_DEPENDS="pkg-config glib-dev libmnl-dev" + +# Rules to configure and make the package. +compile_rules() +{ + ./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 $install/usr/lib/*.so* $fs/usr/lib +}