wok-current view tahoe-lafs/receipt @ rev 25019
updated openjpeg2 and openjpeg2-dev (2.3.1 -> 2.5.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed May 18 07:22:38 2022 +0100 (2022-05-18) |
parents | 870e1ce31226 |
children | 04410c6a9726 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tahoe-lafs"
4 VERSION="1.13.0"
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 \
17 twisted zopeinterface"
18 BUILD_DEPENDS="gmp-dev openssl-dev python-dev python-setuptools"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/*} 2>/dev/null | \
24 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 python setup.py build
31 python setup.py install --root=$DESTDIR
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/usr $fs
38 }