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