SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "s3ql"

# SliTaz package receipt.

PACKAGE="s3ql"
VERSION="1.13.2"
CATEGORY="network"
SHORT_DESC="A file system for Google Storage, Amazon S3 or OpenStack."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL3"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="https://github.com/s3ql/s3ql"
WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$TARBALL"

DEPENDS="sqlite python-llfuse python-pyliblzma python-pycryptopp python-apsw"
BUILD_DEPENDS="python-dev sqlite-dev liblzma-dev fuse2-dev attr-dev rsync \
python-distribute python-llfuse python-pyliblzma python-pycryptopp python-apsw \
python-pytest python-py python-unittest2"

current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed '/releases.tag/!d;s|.*/tag.release-\(.*\)".*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    sed -i -e 's|import sys|&\nimport ssl|' -e 's|http:|https:|' -e \
      's|.*urlopen(url|\t    ssl._create_default_https_context = ssl._create_unverified_context\n&|' \
        util/distribute_setup.py
    python setup.py build &&
    python setup.py test &&
    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)