wok diff iptraf-ng/receipt @ rev 24971
Rollback nettle to 3.5.1
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue Apr 26 22:23:24 2022 +0200 (2022-04-26) |
parents | 544e47246b33 |
children | 15da8bede304 |
line diff
1.1 --- a/iptraf-ng/receipt Wed Feb 23 16:54:57 2022 +0000 1.2 +++ b/iptraf-ng/receipt Tue Apr 26 22:23:24 2022 +0200 1.3 @@ -1,20 +1,21 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="iptraf-ng" 1.7 -VERSION="1.1.4" 1.8 +VERSION="1.2.1" 1.9 CATEGORY="network" 1.10 SHORT_DESC="IP Network Monitoring Software." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 LICENSE="GPL2" 1.13 +WEB_SITE="https://fedorahosted.org/iptraf-ng/" 1.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 -WEB_SITE="https://fedorahosted.org/iptraf-ng/" 1.16 -WGET_URL="https://fedorahosted.org/releases/i/p/$PACKAGE/$TARBALL" 1.17 -CONFIG_FILES="/var/lib/iptraf-ng/iptraf.cfg" 1.18 +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION.tar.gz" 1.19 + 1.20 PROVIDE="iptraf" 1.21 - 1.22 DEPENDS="ncursesw" 1.23 BUILD_DEPENDS="ncurses-dev" 1.24 1.25 +CONFIG_FILES="/var/lib/iptraf-ng/iptraf.cfg" 1.26 + 1.27 # What is the latest version available today? 1.28 current_version() 1.29 { 1.30 @@ -25,15 +26,20 @@ 1.31 # Rules to configure and make the package. 1.32 compile_rules() 1.33 { 1.34 - ./configure --prefix=/usr \ 1.35 - $CONFIGURE_ARGS && 1.36 - make && 1.37 - make DESTDIR=$DESTDIR install 1.38 + export LDFLAGS="$LDFLAGS -lrt" 1.39 + 1.40 + make \ 1.41 + LDFLAGS="$LDFLAGS" \ 1.42 + DESTDIR=$DESTDIR \ 1.43 + prefix=/usr && 1.44 + make install \ 1.45 + DESTDIR=$DESTDIR \ 1.46 + prefix=/usr 1.47 } 1.48 1.49 # Rules to gen a SliTaz package suitable for Tazpkg. 1.50 genpkg_rules() 1.51 { 1.52 mkdir -p $fs/var/log/iptraf-ng 1.53 - cp -a $install/sbin $fs 1.54 + cp -a $install/usr/sbin $fs 1.55 }