wok diff rsnapshot/receipt @ rev 17044

Add paulstretch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 19 18:02:31 2014 +0200 (2014-08-19)
parents 26095987c2ac
children 97aacc6e3c16
line diff
     1.1 --- a/rsnapshot/receipt	Fri Feb 25 10:29:17 2011 +0000
     1.2 +++ b/rsnapshot/receipt	Tue Aug 19 18:02:31 2014 +0200
     1.3 @@ -5,13 +5,15 @@
     1.4  CATEGORY="system-tools"
     1.5  SHORT_DESC="A remote filesystem snapshot utility"
     1.6  MAINTAINER="slaxemulator@gmail.com"
     1.7 -DEPENDS="perl rsync"
     1.8 -BUILD_DEPENDS="perl rsync"
     1.9 +LICENSE="GPL2"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WEB_SITE="http://www.rsnapshot.org"
    1.12  WGET_URL="$WEB_SITE/downloads/$TARBALL"
    1.13  CONFIG_FILES="/etc/rsnapshot.conf"
    1.14  
    1.15 +DEPENDS="perl rsync"
    1.16 +BUILD_DEPENDS="perl rsync"
    1.17 +
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {
    1.21 @@ -22,14 +24,14 @@
    1.22  		--mandir=/usr/share/man \
    1.23  		--sysconfdir=/etc \
    1.24  		$CONFIGURE_ARGS &&
    1.25 -	make && make DESTDIR=$PWD/_pkg install
    1.26 +	make && make DESTDIR=$DESTDIR install
    1.27  }
    1.28  
    1.29  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.30  genpkg_rules()
    1.31  {
    1.32  	mkdir -p $fs/usr $fs/etc
    1.33 -	cp -a $_pkg/usr/bin $fs/usr
    1.34 -	cp -a $_pkg/etc/rsnapshot.conf.default $fs/etc/rsnapshot.conf
    1.35 +	cp -a $install/usr/bin $fs/usr
    1.36 +	cp -a $install/etc/rsnapshot.conf.default $fs/etc/rsnapshot.conf
    1.37  }
    1.38