wok-current diff libnids/receipt @ rev 16989
mate-system-monitor: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 09 09:15:22 2014 +0000 (2014-08-09) |
parents | |
children | 65d7d867e0c1 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libnids/receipt Sat Aug 09 09:15:22 2014 +0000 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 +}