wok rev 21589

updated nut (2.6.5 -> 2.7.4)
author Hans-G?nter Theisgen
date Mon May 20 16:22:34 2019 +0100 (18 months ago)
parents 92ee1de174b9
children f81cd10fc318
files nut/receipt
line diff
     1.1 --- a/nut/receipt	Mon May 20 16:03:47 2019 +0100
     1.2 +++ b/nut/receipt	Mon May 20 16:22:34 2019 +0100
     1.3 @@ -1,29 +1,30 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="nut"
     1.7 -VERSION="2.6.5"
     1.8 +VERSION="2.7.4"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Network UPS Tools."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 +WEB_SITE="https://www.networkupstools.org"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://www.networkupstools.org"
    1.17  WGET_URL="$WEB_SITE/source/${VERSION%.*}/$TARBALL"
    1.18  CONFIG_FILES="/etc/nut.conf /etc/ups.conf /etc/upsd.conf /etc/upsd.users \
    1.19 -/etc/upsmon.conf /etc/upssched.conf"
    1.20 +	/etc/upsmon.conf /etc/upssched.conf"
    1.21  
    1.22 -DEPENDS="libusb libusb-compat expat neon zlib libssl libwrap"
    1.23 -BUILD_DEPENDS="libusb-dev libusb-compat-dev expat-dev neon-dev zlib-dev \
    1.24 -openssl-dev libwrap-dev"
    1.25 +DEPENDS="expat libssl libusb libusb-compat libwrap neon zlib"
    1.26 +BUILD_DEPENDS="expat-dev libusb-dev libusb-compat-dev libwrap-dev \
    1.27 +	neon-dev openssl-dev zlib-dev"
    1.28  
    1.29  # Rules to configure and make the package.
    1.30  compile_rules()
    1.31  {
    1.32 -	./configure \
    1.33 -		--prefix=/usr \
    1.34 -		--infodir=/usr/share/info \
    1.35 -		--mandir=/usr/share/man \
    1.36 -		--sysconfdir=/etc \
    1.37 +	./configure				\
    1.38 +		--prefix=/usr			\
    1.39 +		--infodir=/usr/share/info	\
    1.40 +		--mandir=/usr/share/man		\
    1.41 +		--sysconfdir=/etc		\
    1.42  		$CONFIGURE_ARGS &&
    1.43  	make &&
    1.44  	make DESTDIR=$DESTDIR install
    1.45 @@ -32,13 +33,16 @@
    1.46  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.47  genpkg_rules()
    1.48  {
    1.49 -	mkdir -p $fs/usr/share $fs/etc
    1.50 -	for i in $install/etc/*.sample ; do
    1.51 +	mkdir -p $fs/usr/share
    1.52 +	mkdir -p $fs/etc
    1.53 +
    1.54 +	for i in $install/etc/*.sample
    1.55 +	 do
    1.56  		cp -a $i $fs/etc/$(basename $i .sample)
    1.57 -	done
    1.58 -	cp -a $install/usr/lib $fs/usr
    1.59 -	cp -a $install/usr/bin $fs/usr
    1.60 -	cp -a $install/usr/sbin $fs/usr
    1.61 -	cp $install/usr/share/cmdvartab $fs/usr/share
    1.62 -	cp $install/usr/share/driver.list $fs/usr/share
    1.63 +	 done
    1.64 +	cp -a $install/usr/lib			$fs/usr
    1.65 +	cp -a $install/usr/bin			$fs/usr
    1.66 +	cp -a $install/usr/sbin			$fs/usr
    1.67 +	cp $install/usr/share/cmdvartab		$fs/usr/share
    1.68 +	cp $install/usr/share/driver.list	$fs/usr/share
    1.69  }