wok-6.x view libnids/receipt @ rev 22400

update: expat 2.2.6 (2018) -> 2.2.9 (security fixes: CVE-2019-15903, CVE-2018-20843; ...) -> also, new site: the WGET_URL could be improved
author Erkan Yilmaz <erkan@slitaz.org>
date Sun Dec 08 11:10:33 2019 +0000 (2019-12-08)
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 }