wok view duplicity/receipt @ rev 25095

Up libkeybinder (0.3.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 18 13:48:16 2022 +0000 (22 months ago)
parents 276ee4395f10
children d88ce536755a
line source
1 # SliTaz package receipt.
3 PACKAGE="duplicity"
4 VERSION="0.8.09"
5 CATEGORY="network"
6 SHORT_DESC="Encrypted bandwidth-efficient backup using the rsync algorithm."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://nongnu.org/duplicity/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://code.launchpad.net/$PACKAGE/${VERSION%.*}-series/$VERSION/+download/$TARBALL"
14 DEPENDS="cryptopp gnupg lftp librsync paramiko py3k"
15 BUILD_DEPENDS="librsync py3k py3k-dev python-setuptools"
16 # NcFTP boto
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://launchpad.net/duplicity/+download 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./setup.py install --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/* $fs
35 }