wok view tahoe-lafs/receipt @ rev 25344

updated tahoe-lafs (1.13.0 -> 1.17.1)
author Hans-G?nter Theisgen
date Mon Jul 25 07:43:39 2022 +0100 (21 months ago)
parents 0aa534391a15
children 5db546345599
line source
1 # SliTaz package receipt.
3 PACKAGE="tahoe-lafs"
4 VERSION="1.17.1"
5 CATEGORY="system-tools"
6 TAGS="filesystem backup"
7 SHORT_DESC="Cloud storage system."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://github.com/tahoe-lafs/tahoe-lafs"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/archive/refs/tags/$TARBALL"
15 DEPENDS="pycrypto pyopenssl python python-foolscap python-mock python-pyasn1
16 python-pycryptopp python-simplejson python-zfec twisted zopeinterface"
17 BUILD_DEPENDS="gmp-dev openssl-dev python-dev python-setuptools"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
23 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 python setup.py build &&
30 python setup.py install --root=$DESTDIR
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/usr $fs
37 }