wok annotate backintime/receipt @ rev 24240
updated perl-mime-types (2.17 -> 2.22)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 07:21:29 2022 +0100 (2022-01-02) |
parents | 5ea0ce1cecc0 |
children | 42ca4855acf7 |
rev | line source |
---|---|
pascal@14377 | 1 # SliTaz package receipt. |
pascal@14377 | 2 |
pascal@14377 | 3 PACKAGE="backintime" |
Hans-G?nter@22526 | 4 VERSION="1.2.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" |
Hans-G?nter@22526 | 13 WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL" |
Hans-G?nter@22526 | 14 |
Hans-G?nter@22526 | 15 DEPENDS="py3k rsync" |
pascal@14377 | 16 BUILD_DEPENDS="$DEPENDS meld" # python-glade2 python-gnome2 |
pascal@14377 | 17 |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24069 | 21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
pascal@14377 | 24 # Rules to configure and make the package. |
pascal@14377 | 25 compile_rules() |
pascal@14377 | 26 { |
pascal@14377 | 27 cd $src/common |
Hans-G?nter@22526 | 28 ./configure \ |
Hans-G?nter@22526 | 29 --prefix=/usr \ |
Hans-G?nter@22526 | 30 --sysconfdir=/etc \ |
Hans-G?nter@22526 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@22526 | 32 make && |
Hans-G?nter@22526 | 33 make DESTDIR=$DESTDIR install |
pascal@14377 | 34 } |
pascal@14377 | 35 |
pascal@14377 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14377 | 37 genpkg_rules() |
pascal@14377 | 38 { |
Hans-G?nter@22526 | 39 cp -a $install/* $fs |
Hans-G?nter@22526 | 40 rm -r $fs/usr/share/doc |
Hans-G?nter@22526 | 41 rm -r $fs/usr/share/man |
pascal@14377 | 42 } |