wok diff darkstat/receipt @ rev 24950

updated nagios-plugins and nagios-plugins-mysql (2.3.3 -> 2.4.0)
author Hans-G?nter Theisgen
date Sat Apr 23 10:03:51 2022 +0100 (2022-04-23)
parents bfabe25c21ff
children fe1b5660fdd1
line diff
     1.1 --- a/darkstat/receipt	Sun Feb 13 18:01:32 2022 +0000
     1.2 +++ b/darkstat/receipt	Sat Apr 23 10:03:51 2022 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="darkstat"
     1.7 -VERSION="3.0.719"
     1.8 +VERSION="3.0.721"
     1.9  CATEGORY="network"
    1.10  TAGS="network monitor stats statistics"
    1.11  SHORT_DESC="Simple network traffic statistics."
    1.12 @@ -9,11 +9,11 @@
    1.13  LICENSE="GPL2 BSD"
    1.14  WEB_SITE="https://unix4lyfe.org/darkstat/"
    1.15  
    1.16 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WGET_URL="https://unix4lyfe.org/darkstat/$TARBALL"
    1.18 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.19 +WGET_URL="https://github.com/emikulic/$PACKAGE/archive/refs/tags/$VERSION.tar.gz"
    1.20  
    1.21  DEPENDS="libpcap zlib"
    1.22 -BUILD_DEPENDS="libpcap-dev zlib-dev"
    1.23 +BUILD_DEPENDS="autoconf libpcap-dev zlib-dev"
    1.24  
    1.25  # What is the latest version available today?
    1.26  current_version()
    1.27 @@ -28,18 +28,19 @@
    1.28  	# 3.0.719 unrecognised
    1.29  #	--with-chroot-dir=/var/lib/darkstat
    1.30  
    1.31 +	autoconf &&
    1.32 +	autoheader &&
    1.33  	./configure		\
    1.34  		--prefix=/usr	\
    1.35  		$CONFIGURE_ARGS &&
    1.36  	make &&
    1.37 -	make DESTDIR=$DESTDIR install
    1.38 +	make install DESTDIR=$DESTDIR
    1.39  }
    1.40  
    1.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.42  genpkg_rules()
    1.43  {
    1.44 -	mkdir -p $fs/usr
    1.45  	mkdir -p $fs/var/lib/darkstat
    1.46  
    1.47 -	cp -a $install/usr/sbin	$fs/usr
    1.48 +	cook_copy_folders	sbin
    1.49  }