wok annotate tahoe-lafs/receipt @ rev 24976

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 06 11:04:25 2022 +0000 (2022-05-06)
parents 83b97236db32
children 0aa534391a15
rev   line source
pascal@13244 1 # SliTaz package receipt.
pascal@13244 2
pascal@13244 3 PACKAGE="tahoe-lafs"
Hans-G?nter@22003 4 VERSION="1.13.0"
pascal@13244 5 CATEGORY="system-tools"
Hans-G?nter@22003 6 TAGS="filesystem backup"
pascal@13244 7 SHORT_DESC="Cloud storage system."
pascal@13244 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15590 9 LICENSE="GPL2"
pascal@24894 10 WEB_SITE="https://github.com/tahoe-lafs/tahoe-lafs"
pascal@13244 11
Hans-G?nter@22003 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22003 13 WGET_URL="${WEB_SITE}downloads/$TARBALL"
Hans-G?nter@22003 14
Hans-G?nter@22003 15 DEPENDS="pycrypto pyopenssl python python-foolscap python-mock python-pyasn1 \
Hans-G?nter@22003 16 python-pycryptopp python-simplejson python-zfec \
Hans-G?nter@22003 17 twisted zopeinterface"
Hans-G?nter@22003 18 BUILD_DEPENDS="gmp-dev openssl-dev python-dev python-setuptools"
pascal@13244 19
pascal@24427 20 # What is the latest version available today?
pascal@24427 21 current_version()
pascal@24427 22 {
pascal@24427 23 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24427 24 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24427 25 }
pascal@24427 26
pascal@13244 27 # Rules to configure and make the package.
pascal@13244 28 compile_rules()
pascal@13244 29 {
pascal@13244 30 python setup.py build
pascal@13244 31 python setup.py install --root=$DESTDIR
pascal@13244 32 }
pascal@13244 33
al@18086 34 # Rules to gen a SliTaz package suitable for Tazpkg.
al@18086 35 genpkg_rules()
pascal@13244 36 {
pascal@15590 37 cp -a $install/usr $fs
pascal@13244 38 }