wok-next diff libnids/receipt @ rev 17706

Up marlin: edit last patch (again)
author Yuri Pourre <yuripourre@gmail.com>
date Mon Mar 02 11:26:30 2015 -0300 (2015-03-02)
parents
children d43bf7aae921
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libnids/receipt	Mon Mar 02 11:26:30 2015 -0300
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libnids"
     1.7 +VERSION="1.24"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="An E-component of Network Intrusion Detection System."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://libnids.sourceforge.net/"
    1.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
    1.15 +#https://sourceforge.net/projects/libnids/files/libnids/1.24/libnids-1.24.tar.gz
    1.16 +
    1.17 +DEPENDS=""
    1.18 +BUILD_DEPENDS="pkg-config libpcap-dev glib-dev libnet-dev"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	sed -i "s|^install_prefix.*|install_prefix = $DESTDIR|" src/Makefile*
    1.24 +	./configure --prefix=/usr $CONFIGURE_ARGS &&
    1.25 +	make &&
    1.26 +	make DESTDIR=$DESTDIR install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	cp -a $install/* $fs/
    1.33 +}