wok view backintime/receipt @ rev 25102

Use archive.org for some broken wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 21 16:00:20 2022 +0000 (2022-06-21)
parents c46e9f046d78
children 343c093ad221
line source
1 # SliTaz package receipt.
3 PACKAGE="backintime"
4 VERSION="1.3.1"
5 CATEGORY="network"
6 TAGS="backup"
7 SHORT_DESC="A simple backup tool for linux."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://github.com/bit-team/backintime"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/bit-team/backintime/archive/refs/tags/$VERSION.tar.gz"
15 SUGGESTED="backintime-lang"
16 DEPENDS="py3k py3k-dbus rsync"
17 BUILD_DEPENDS="$DEPENDS meld" # python-glade2 python-gnome2
19 current_version()
20 {
21 wget -O - $WEB_SITE/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src/common
29 ./configure \
30 --prefix=/usr \
31 --sysconfdir=/etc \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share
42 cp -a $install/etc $fs
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/share/backintime $fs/usr/share
45 }