wok view borgbackup/receipt @ rev 25037

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