wok diff nut/receipt @ rev 25007

updated nut (2.7.4 -> 2.8.0)
author Hans-G?nter Theisgen
date Mon May 16 16:55:37 2022 +0100 (2022-05-16)
parents 2a0479881723
children 7364ffdaaa60
line diff
     1.1 --- a/nut/receipt	Sun Feb 13 13:09:42 2022 +0000
     1.2 +++ b/nut/receipt	Mon May 16 16:55:37 2022 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="nut"
     1.7 -VERSION="2.7.4"
     1.8 +VERSION="2.8.0"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Network UPS Tools."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -10,13 +10,14 @@
    1.13  
    1.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15  WGET_URL="$WEB_SITE/source/${VERSION%.*}/$TARBALL"
    1.16 +
    1.17 +DEPENDS="expat libssl libusb libusb-compat libwrap neon zlib"
    1.18 +BUILD_DEPENDS="expat-dev libusb-dev libusb-compat-dev libwrap-dev
    1.19 +	neon-dev openssl-dev zlib-dev"
    1.20 +
    1.21  CONFIG_FILES="/etc/nut.conf /etc/ups.conf /etc/upsd.conf /etc/upsd.users \
    1.22  	/etc/upsmon.conf /etc/upssched.conf"
    1.23  
    1.24 -DEPENDS="expat libssl libusb libusb-compat libwrap neon zlib"
    1.25 -BUILD_DEPENDS="expat-dev libusb-dev libusb-compat-dev libwrap-dev \
    1.26 -	neon-dev openssl-dev zlib-dev"
    1.27 -
    1.28  # What is the latest version available today?
    1.29  current_version()
    1.30  {
    1.31 @@ -34,7 +35,7 @@
    1.32  		--sysconfdir=/etc		\
    1.33  		$CONFIGURE_ARGS &&
    1.34  	make &&
    1.35 -	make DESTDIR=$DESTDIR install
    1.36 +	make install DESTDIR=$DESTDIR
    1.37  }
    1.38  
    1.39  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 @@ -44,9 +45,9 @@
    1.41  	mkdir -p $fs/etc
    1.42  
    1.43  	for i in $install/etc/*.sample
    1.44 -	 do
    1.45 -		cp -a $i $fs/etc/$(basename $i .sample)
    1.46 -	 done
    1.47 +	  do
    1.48 +		cp -a $i	$fs/etc/$(basename $i .sample)
    1.49 +	  done
    1.50  	cp -a $install/usr/lib			$fs/usr
    1.51  	cp -a $install/usr/bin			$fs/usr
    1.52  	cp -a $install/usr/sbin			$fs/usr