Receipt for: borgbackup
source
PACKAGE="borgbackup"
VERSION="1.1.10"
CATEGORY="system-tools"
SHORT_DESC="Deduplicating archiver with compression & authenticated encryption"
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="BSD"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://www.borgbackup.org/"
WGET_URL="https://files.pythonhosted.org/packages/24/13/77cd0bed77fa80cf79e18d1fb1806641e895878bda389771ea63f30560de/$TARBALL"
TAGS="backup"
DEPENDS="py3k gcc-lib-base acl ssh"
BUILD_DEPENDS="py3k-dev py3k-cython openssl-dev py3k-setuptools"
SUGGESTED="fuse"
current_version()
{
wget -O - https://www.borgbackup.org/releases/ 2>/dev/null | \
sed '/current release/!d;s|.*release is ||;s|,.*||;q'
}
compile_rules()
{
python3 ./setup.py build &&
python3 setup.py install --root=$DESTDIR
}
genpkg_rules()
{
mkdir $install/usr/share
cp -a $src/docs/man $install/usr/share
cp -a $install/usr $fs/
}