wok-next annotate libnids/receipt @ rev 18031

Up: cookutils, cookutils-daemon (730)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 08 14:58:46 2015 +0300 (2015-05-08)
parents
children d43bf7aae921
rev   line source
pascal@16989 1 # SliTaz package receipt.
pascal@16989 2
pascal@16989 3 PACKAGE="libnids"
pascal@16989 4 VERSION="1.24"
pascal@16989 5 CATEGORY="development"
pascal@16989 6 SHORT_DESC="An E-component of Network Intrusion Detection System."
pascal@16989 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@16989 8 LICENSE="GPL2"
pascal@16989 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@16989 10 WEB_SITE="http://libnids.sourceforge.net/"
pascal@16989 11 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
pascal@16989 12 #https://sourceforge.net/projects/libnids/files/libnids/1.24/libnids-1.24.tar.gz
pascal@16989 13
pascal@16989 14 DEPENDS=""
pascal@16989 15 BUILD_DEPENDS="pkg-config libpcap-dev glib-dev libnet-dev"
pascal@16989 16
pascal@16989 17 # Rules to configure and make the package.
pascal@16989 18 compile_rules()
pascal@16989 19 {
pascal@16989 20 sed -i "s|^install_prefix.*|install_prefix = $DESTDIR|" src/Makefile*
pascal@16989 21 ./configure --prefix=/usr $CONFIGURE_ARGS &&
pascal@16989 22 make &&
pascal@16989 23 make DESTDIR=$DESTDIR install
pascal@16989 24 }
pascal@16989 25
pascal@16989 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@16989 27 genpkg_rules()
pascal@16989 28 {
pascal@16989 29 cp -a $install/* $fs/
pascal@16989 30 }