wok-next view libnids/receipt @ rev 20011

cairo-dock: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 21 18:36:22 2017 +0200 (2017-10-21)
parents
children d43bf7aae921
line source
1 # SliTaz package receipt.
3 PACKAGE="libnids"
4 VERSION="1.24"
5 CATEGORY="development"
6 SHORT_DESC="An E-component of Network Intrusion Detection System."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://libnids.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
12 #https://sourceforge.net/projects/libnids/files/libnids/1.24/libnids-1.24.tar.gz
14 DEPENDS=""
15 BUILD_DEPENDS="pkg-config libpcap-dev glib-dev libnet-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i "s|^install_prefix.*|install_prefix = $DESTDIR|" src/Makefile*
21 ./configure --prefix=/usr $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/* $fs/
30 }