SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "tahoe-lafs"

# SliTaz package receipt.

PACKAGE="tahoe-lafs"
VERSION="1.17.1"
CATEGORY="system-tools"
TAGS="filesystem backup"
SHORT_DESC="Cloud storage system."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://github.com/tahoe-lafs/tahoe-lafs"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$WEB_SITE/archive/refs/tags/$TARBALL"

DEPENDS="pycrypto pyopenssl python python-foolscap python-mock python-pyasn1
    python-pycryptopp python-simplejson python-zfec twisted zopeinterface"
BUILD_DEPENDS="gmp-dev openssl-dev python-dev python-setuptools"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    python setup.py build &&
    python setup.py install --root=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/usr    $fs
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)