wok annotate tahoe-lafs/receipt @ rev 25650
Fix libwebkit gtk+ twice dep, thanks Ceel
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Feb 02 20:44:00 2024 +0100 (11 months ago) |
parents | 04410c6a9726 |
children |
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@25603 | 22 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@25603 | 23 sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;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 } |