wok-current view libnids/receipt @ rev 21370

gnuradio, mtp-tools, potamus: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 21 20:00:24 2019 +0200 (2019-04-21)
parents
children 65d7d867e0c1
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 }