wok diff nut/receipt @ rev 14701

monitorix: update /etc/monitorix.conf (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 07 18:28:08 2013 +0200 (2013-06-07)
parents b04abd30b007
children 10e6c72b2c15
line diff
     1.1 --- a/nut/receipt	Sat Sep 04 12:47:38 2010 +0200
     1.2 +++ b/nut/receipt	Fri Jun 07 18:28:08 2013 +0200
     1.3 @@ -1,13 +1,13 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="nut"
     1.7 -VERSION="2.4.3"
     1.8 +VERSION="2.6.5"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Network UPS Tools."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 -WEB_SITE="http://www.networkupstools.org/source.html"
    1.14 -WGET_URL="http://www.networkupstools.org/source/${VERSION%.*}/$TARBALL"
    1.15 +WEB_SITE="http://www.networkupstools.org"
    1.16 +WGET_URL="$WEB_SITE/source/${VERSION%.*}/$TARBALL"
    1.17  DEPENDS="libusb libusb-compat expat neon zlib libssl libwrap"
    1.18  BUILD_DEPENDS="libusb-dev libusb-compat-dev expat-dev neon-dev zlib-dev \
    1.19  openssl-dev libwrap-dev"
    1.20 @@ -17,25 +17,27 @@
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23  {
    1.24 -	cd $src
    1.25 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.26 -	--mandir=/usr/share/man --sysconfdir=/etc \
    1.27 -	$CONFIGURE_ARGS &&
    1.28 +	./configure \
    1.29 +		--prefix=/usr \
    1.30 +		--infodir=/usr/share/info \
    1.31 +		--mandir=/usr/share/man \
    1.32 +		--sysconfdir=/etc \
    1.33 +		$CONFIGURE_ARGS &&
    1.34  	make &&
    1.35 -	make DESTDIR=$PWD/_pkg install
    1.36 +	make DESTDIR=$DESTDIR install
    1.37  }
    1.38  
    1.39  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.40  genpkg_rules()
    1.41  {
    1.42  	mkdir -p $fs/usr/share $fs/etc
    1.43 -	for i in $_pkg/etc/*.sample ; do
    1.44 +	for i in $install/etc/*.sample ; do
    1.45  		cp -a $i $fs/etc/$(basename $i .sample)
    1.46  	done
    1.47 -	cp -a $_pkg/lib $fs
    1.48 -	cp -a $_pkg/usr/lib $fs/usr
    1.49 -	cp -a $_pkg/usr/bin $fs/usr
    1.50 -	cp -a $_pkg/usr/sbin $fs/usr
    1.51 -	cp $_pkg/usr/share/cmdvartab $fs/usr/share
    1.52 -	cp $_pkg/usr/share/driver.list $fs/usr/share
    1.53 +	cp -a $install/lib $fs
    1.54 +	cp -a $install/usr/lib $fs/usr
    1.55 +	cp -a $install/usr/bin $fs/usr
    1.56 +	cp -a $install/usr/sbin $fs/usr
    1.57 +	cp $install/usr/share/cmdvartab $fs/usr/share
    1.58 +	cp $install/usr/share/driver.list $fs/usr/share
    1.59  }