wok diff libnids/receipt @ rev 25443
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 09:28:15 2022 +0000 (2022-09-03) |
parents | 65d7d867e0c1 |
children | 5db546345599 |
line diff
1.1 --- a/libnids/receipt Wed Feb 09 17:57:59 2022 +0000 1.2 +++ b/libnids/receipt Sat Sep 03 09:28:15 2022 +0000 1.3 @@ -1,18 +1,17 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="libnids" 1.7 -VERSION="1.24" 1.8 +VERSION="1.26" 1.9 CATEGORY="development" 1.10 SHORT_DESC="An E-component of Network Intrusion Detection System." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 LICENSE="GPL2" 1.13 +WEB_SITE="https://github.com/MITRECND/libnids/" 1.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 -WEB_SITE="http://libnids.sourceforge.net/" 1.16 -WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" 1.17 -#https://sourceforge.net/projects/libnids/files/libnids/1.24/libnids-1.24.tar.gz 1.18 +WGET_URL="https://github.com/MITRECND/$PACKAGE/archive/refs/tags/$VERSION.tar.gz" 1.19 1.20 DEPENDS="" 1.21 -BUILD_DEPENDS="pkg-config libpcap-dev glib-dev libnet-dev" 1.22 +BUILD_DEPENDS="glib-dev libpcap-dev libnet-dev pkg-config" 1.23 1.24 # What is the latest version available today? 1.25 current_version() 1.26 @@ -25,14 +24,19 @@ 1.27 # Rules to configure and make the package. 1.28 compile_rules() 1.29 { 1.30 - sed -i "s|^install_prefix.*|install_prefix = $DESTDIR|" src/Makefile* 1.31 - ./configure --prefix=/usr $CONFIGURE_ARGS && 1.32 + sed -i "s|^install_prefix.*|install_prefix = $DESTDIR|" \ 1.33 + src/Makefile* 1.34 + 1.35 + ./configure \ 1.36 + --prefix=/usr \ 1.37 + $CONFIGURE_ARGS && 1.38 make && 1.39 - make DESTDIR=$DESTDIR install 1.40 + make install DESTDIR=$DESTDIR 1.41 } 1.42 1.43 # Rules to gen a SliTaz package suitable for Tazpkg. 1.44 genpkg_rules() 1.45 { 1.46 - cp -a $install/* $fs/ 1.47 + cook_copy_folders include 1.48 + cook_copy_folders lib 1.49 }