wok view backintime/receipt @ rev 25597

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 11:24:03 2023 +0000 (10 months ago)
parents 88afc2f95640
children
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 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $WEB_SITE/releases 2>/dev/null | \
23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 cd $src/common
30 ./configure \
31 --prefix=/usr \
32 --sysconfdir=/etc \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share
43 cp -a $install/etc $fs
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/share/backintime $fs/usr/share
46 }