# HG changeset patch # User Eric Joseph-Alexandre # Date 1324110420 -3600 # Node ID d70cd76f3c2f74bead80f2277d44761cf0f531e0 # Parent 79d46277d7f9544db44b8ca44c257d8a29806f1f Add: libhtp, libhtp-dev diff -r 79d46277d7f9 -r d70cd76f3c2f libhtp-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libhtp-dev/receipt Sat Dec 17 09:27:00 2011 +0100 @@ -0,0 +1,20 @@ +# SliTaz package receipt. + +PACKAGE="libhtp-dev" +VERSION="0.2.6" +CATEGORY="development" +SHORT_DESC="SLibhtp dev files." +MAINTAINER="erjo@slitaz.org" +WEB_SITE="http://www.openinfosecfoundation.org" +WANTED="libhtp" + +DEPENDS="libhtp" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.*a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/include $fs/usr +} diff -r 79d46277d7f9 -r d70cd76f3c2f libhtp/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libhtp/receipt Sat Dec 17 09:27:00 2011 +0100 @@ -0,0 +1,24 @@ +# SliTaz package receipt. + +PACKAGE="libhtp" +VERSION="0.2.6" +CATEGORY="system-tools" +SHORT_DESC="Security-aware parser for the HTTP protocol." +MAINTAINER="erjo@slitaz.org" +WEB_SITE="http://www.openinfosecfoundation.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="http://www.openinfosecfoundation.org/download/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure $CONFIGURE_ARGS && make && make 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 +}