wok-current view backup-manager/receipt @ rev 25024
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 18 20:10:17 2022 +0000 (2022-05-18) |
parents | 3abeffdae80b |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="backup-manager"
4 VERSION=0.7.15
5 CATEGORY="network"
6 TAGS="backup"
7 SHORT_DESC="A really simple to use backup tool."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://github.com/sukria/Backup-Manager"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
15 SUGGESTED="ssh rsync mysql postgresql"
16 DEPENDS="bash perl"
17 BUILD_DEPENDS="coreutils-operations gettext"
19 CONFIG_FILES="/etc/backup-manager.conf"
21 current_version()
22 {
23 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
24 sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|' | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 make PREFIX=/usr DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir $fs/etc
38 cp -a $install/* $fs/
39 cp $fs/usr/share/backup-manager/backup-manager.conf.tpl \
40 $fs/etc/backup-manager.conf
41 rm -r $fs/usr/share/man
42 }