wok annotate backup-manager/receipt @ rev 16976
Add backup-manager
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 06 09:55:03 2014 +0200 (2014-08-06) |
parents | |
children | 6913d548b948 |
rev | line source |
---|---|
pascal@16976 | 1 # SliTaz package receipt. |
pascal@16976 | 2 |
pascal@16976 | 3 PACKAGE="backup-manager" |
pascal@16976 | 4 GITHASH="72a6561c454ed17aefa7869d2e82235a95d058c6" |
pascal@16976 | 5 VERSION=${GITHASH:0:7} |
pascal@16976 | 6 CATEGORY="network" |
pascal@16976 | 7 SHORT_DESC="A really simple to use backup tool." |
pascal@16976 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16976 | 9 LICENSE="GPL2" |
pascal@16976 | 10 TARBALL="$PACKAGE-$VERSION.zip" |
pascal@16976 | 11 WEB_SITE="https://github.com/sukria/Backup-Manager" |
pascal@16976 | 12 WGET_URL="$WEB_SITE/archive/$GITHASH.zip" |
pascal@16976 | 13 CONFIG_FILES="/etc/backup-manager.conf" |
pascal@16976 | 14 TAGS="backup OVH" |
pascal@16976 | 15 |
pascal@16976 | 16 DEPENDS="bash perl" |
pascal@16976 | 17 BUILD_DEPENDS="gettext coreutils-operations" |
pascal@16976 | 18 SUGGESTED="ssh rsync mysql postgresql" |
pascal@16976 | 19 |
pascal@16976 | 20 # Rules to configure and make the package. |
pascal@16976 | 21 compile_rules() |
pascal@16976 | 22 { |
pascal@16976 | 23 make PREFIX=/usr DESTDIR=$DESTDIR install |
pascal@16976 | 24 } |
pascal@16976 | 25 |
pascal@16976 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16976 | 27 genpkg_rules() |
pascal@16976 | 28 { |
pascal@16976 | 29 mkdir $fs/etc |
pascal@16976 | 30 cp -a $install/* $fs/ |
pascal@16976 | 31 cp $fs/usr/share/backup-manager/backup-manager.conf.tpl $fs/etc/backup-manager.conf |
pascal@16976 | 32 } |