wok-6.x annotate backup-manager/receipt @ rev 25173

updated python-ethtool (0.14 -> 0.15)
author Hans-G?nter Theisgen
date Fri Jul 01 17:05:43 2022 +0100 (2022-07-01)
parents 3abeffdae80b
children
rev   line source
pascal@16976 1 # SliTaz package receipt.
pascal@16976 2
pascal@16976 3 PACKAGE="backup-manager"
Hans-G?nter@22527 4 VERSION=0.7.15
pascal@16976 5 CATEGORY="network"
Hans-G?nter@22527 6 TAGS="backup"
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"
Hans-G?nter@22527 10 WEB_SITE="https://github.com/sukria/Backup-Manager"
Hans-G?nter@22527 11
pascal@19905 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22527 13 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
Hans-G?nter@22527 14
Hans-G?nter@22527 15 SUGGESTED="ssh rsync mysql postgresql"
Hans-G?nter@22527 16 DEPENDS="bash perl"
Hans-G?nter@22527 17 BUILD_DEPENDS="coreutils-operations gettext"
Hans-G?nter@22527 18
pascal@16976 19 CONFIG_FILES="/etc/backup-manager.conf"
pascal@16976 20
pascal@24055 21 current_version()
pascal@24055 22 {
pascal@24055 23 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24626 24 sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|' | sort -Vr | sed q
pascal@24055 25 }
pascal@24055 26
pascal@16976 27 # Rules to configure and make the package.
pascal@16976 28 compile_rules()
pascal@16976 29 {
pascal@16976 30 make PREFIX=/usr DESTDIR=$DESTDIR install
pascal@16976 31 }
pascal@16976 32
pascal@16976 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@16976 34 genpkg_rules()
pascal@16976 35 {
pascal@16976 36 mkdir $fs/etc
Hans-G?nter@22527 37
Hans-G?nter@22527 38 cp -a $install/* $fs/
Hans-G?nter@22527 39 cp $fs/usr/share/backup-manager/backup-manager.conf.tpl \
Hans-G?nter@22527 40 $fs/etc/backup-manager.conf
Hans-G?nter@22527 41 rm -r $fs/usr/share/man
pascal@16976 42 }