wok-6.x annotate backintime/receipt @ rev 25522

created recipes for libtermkey and libtermkey-dev 0.22
author Hans-G?nter Theisgen
date Fri Feb 24 17:12:54 2023 +0100 (20 months ago)
parents c46e9f046d78
children
rev   line source
pascal@14377 1 # SliTaz package receipt.
pascal@14377 2
pascal@14377 3 PACKAGE="backintime"
Hans-G?nter@24355 4 VERSION="1.3.1"
pascal@14377 5 CATEGORY="network"
Hans-G?nter@22526 6 TAGS="backup"
pascal@14377 7 SHORT_DESC="A simple backup tool for linux."
pascal@14377 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15202 9 LICENSE="GPL2"
pascal@21786 10 WEB_SITE="https://github.com/bit-team/backintime"
pascal@14377 11
Hans-G?nter@22526 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@24358 13 WGET_URL="https://github.com/bit-team/backintime/archive/refs/tags/$VERSION.tar.gz"
Hans-G?nter@22526 14
Hans-G?nter@24355 15 SUGGESTED="backintime-lang"
Hans-G?nter@24355 16 DEPENDS="py3k py3k-dbus rsync"
pascal@14377 17 BUILD_DEPENDS="$DEPENDS meld" # python-glade2 python-gnome2
pascal@14377 18
pascal@24055 19 current_version()
pascal@24055 20 {
pascal@24358 21 wget -O - $WEB_SITE/releases 2>/dev/null | \
pascal@24069 22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24055 23 }
pascal@24055 24
pascal@14377 25 # Rules to configure and make the package.
pascal@14377 26 compile_rules()
pascal@14377 27 {
pascal@14377 28 cd $src/common
Hans-G?nter@22526 29 ./configure \
Hans-G?nter@22526 30 --prefix=/usr \
Hans-G?nter@22526 31 --sysconfdir=/etc \
Hans-G?nter@22526 32 $CONFIGURE_ARGS &&
Hans-G?nter@22526 33 make &&
Hans-G?nter@22526 34 make DESTDIR=$DESTDIR install
pascal@14377 35 }
pascal@14377 36
pascal@14377 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14377 38 genpkg_rules()
pascal@14377 39 {
Hans-G?nter@24355 40 mkdir -p $fs/usr/share
Hans-G?nter@24355 41
Hans-G?nter@24355 42 cp -a $install/etc $fs
Hans-G?nter@24355 43 cp -a $install/usr/bin $fs/usr
Hans-G?nter@24355 44 cp -a $install/usr/share/backintime $fs/usr/share
pascal@14377 45 }