wok-6.x annotate borgbackup/receipt @ rev 24550
updated firejail (0.9.62 -> 0.9.68)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 09:28:16 2022 +0100 (2022-02-25) |
parents | fffb92e609f9 |
children |
rev | line source |
---|---|
pascal@21879 | 1 # SliTaz package receipt. |
pascal@21879 | 2 |
pascal@21879 | 3 PACKAGE="borgbackup" |
pascal@21879 | 4 VERSION="1.1.10" |
pascal@21879 | 5 CATEGORY="system-tools" |
pascal@21879 | 6 SHORT_DESC="Deduplicating archiver with compression & authenticated encryption" |
pascal@21879 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@21879 | 8 LICENSE="BSD" |
pascal@21879 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@21879 | 10 WEB_SITE="https://www.borgbackup.org/" |
pascal@21879 | 11 WGET_URL="https://files.pythonhosted.org/packages/24/13/77cd0bed77fa80cf79e18d1fb1806641e895878bda389771ea63f30560de/$TARBALL" |
pascal@21879 | 12 TAGS="backup" |
pascal@21879 | 13 |
pascal@21882 | 14 DEPENDS="py3k gcc-lib-base acl ssh" |
pascal@21879 | 15 BUILD_DEPENDS="py3k-dev py3k-cython openssl-dev py3k-setuptools_scm" |
pascal@21882 | 16 SUGGESTED="fuse" |
pascal@21879 | 17 |
pascal@24373 | 18 # What is the latest version available today? |
pascal@24373 | 19 current_version() |
pascal@24373 | 20 { |
pascal@24373 | 21 wget -O - https://www.borgbackup.org/releases/ 2>/dev/null | \ |
pascal@24373 | 22 sed '/current release/!d;s|.*release is ||;s|,.*||;q' |
pascal@24373 | 23 } |
pascal@24373 | 24 |
pascal@21879 | 25 # Rules to configure and make the package. |
pascal@21879 | 26 compile_rules() |
pascal@21879 | 27 { |
pascal@21879 | 28 python3 ./setup.py build && |
pascal@21879 | 29 python3 setup.py install --root=$DESTDIR |
pascal@21879 | 30 } |
pascal@21879 | 31 |
pascal@21879 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@21879 | 33 genpkg_rules() |
pascal@21879 | 34 { |
pascal@21880 | 35 mkdir $install/usr/share |
pascal@21880 | 36 cp -a $src/docs/man $install/usr/share |
pascal@21879 | 37 cp -a $install/usr $fs/ |
pascal@21879 | 38 } |