wok annotate tahoe-lafs/receipt @ rev 25464
httpfs2-fuse: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 30 09:07:42 2022 +0000 (2022-09-30) |
parents | 0aa534391a15 |
children | 5db546345599 |
rev | line source |
---|---|
pascal@13244 | 1 # SliTaz package receipt. |
pascal@13244 | 2 |
pascal@13244 | 3 PACKAGE="tahoe-lafs" |
Hans-G?nter@25344 | 4 VERSION="1.17.1" |
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" |
pascal@24998 | 13 WGET_URL="$WEB_SITE/archive/refs/tags/$TARBALL" |
Hans-G?nter@22003 | 14 |
Hans-G?nter@25344 | 15 DEPENDS="pycrypto pyopenssl python python-foolscap python-mock python-pyasn1 |
Hans-G?nter@25344 | 16 python-pycryptopp python-simplejson python-zfec twisted zopeinterface" |
Hans-G?nter@22003 | 17 BUILD_DEPENDS="gmp-dev openssl-dev python-dev python-setuptools" |
pascal@13244 | 18 |
pascal@24427 | 19 # What is the latest version available today? |
pascal@24427 | 20 current_version() |
pascal@24427 | 21 { |
pascal@24427 | 22 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24427 | 23 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24427 | 24 } |
pascal@24427 | 25 |
pascal@13244 | 26 # Rules to configure and make the package. |
pascal@13244 | 27 compile_rules() |
pascal@13244 | 28 { |
Hans-G?nter@25344 | 29 python setup.py build && |
pascal@13244 | 30 python setup.py install --root=$DESTDIR |
pascal@13244 | 31 } |
pascal@13244 | 32 |
al@18086 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18086 | 34 genpkg_rules() |
pascal@13244 | 35 { |
Hans-G?nter@25344 | 36 cp -a $install/usr $fs |
pascal@13244 | 37 } |