wok-next diff rsnapshot/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | bf2a0cb054c1 |
children | d5aab818505e |
line diff
1.1 --- a/rsnapshot/receipt Sat Oct 21 18:08:51 2017 +0200 1.2 +++ b/rsnapshot/receipt Sat May 12 05:17:48 2018 +0300 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="rsnapshot" 1.8 VERSION="1.4.2" 1.9 @@ -6,31 +6,24 @@ 1.10 SHORT_DESC="A remote filesystem snapshot utility" 1.11 MAINTAINER="slaxemulator@gmail.com" 1.12 LICENSE="GPL2" 1.13 +WEB_SITE="http://www.rsnapshot.org" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WEB_SITE="http://www.rsnapshot.org" 1.17 WGET_URL="https://github.com/rsnapshot/rsnapshot/archive/$VERSION.tar.gz" 1.18 -CONFIG_FILES="/etc/rsnapshot.conf" 1.19 1.20 -DEPENDS="perl rsync" 1.21 BUILD_DEPENDS="perl rsync autoconf automake libtool" 1.22 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 +compile_rules() { 1.27 ./autogen.sh 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 && make DESTDIR=$DESTDIR install 1.35 + ./configure $CONFIGURE_ARGS && 1.36 + make && 1.37 + make DESTDIR=$DESTDIR install || return 1 1.38 + 1.39 + mv $install/etc/rsnapshot.conf.default $install/etc/rsnapshot.conf 1.40 } 1.41 1.42 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.43 -genpkg_rules() 1.44 -{ 1.45 - mkdir -p $fs/usr $fs/etc 1.46 - cp -a $install/usr/bin $fs/usr 1.47 - cp -a $install/etc/rsnapshot.conf.default $fs/etc/rsnapshot.conf 1.48 +genpkg_rules() { 1.49 + copy @std 1.50 + CONFIG_FILES="/etc/rsnapshot.conf" 1.51 + DEPENDS="perl rsync" 1.52 }