wok view s3ql/receipt @ rev 21572
tmate: inserted some environment variables in recipe
author | Hans-G?nter Theisgen |
---|---|
date | Sat May 18 17:29:21 2019 +0100 (2019-05-18) |
parents | 8dd8bab3f0ca |
children | 4bae0fb81a17 |
line source
1 # SliTaz package receipt.
3 PACKAGE="s3ql"
4 VERSION="1.13.2"
5 CATEGORY="network"
6 SHORT_DESC="A file system for Google Storage, Amazon S3 or OpenStack."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://github.com/s3ql/s3ql"
11 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
13 DEPENDS="sqlite python-llfuse python-pyliblzma python-pycryptopp python-apsw"
14 BUILD_DEPENDS="python-dev sqlite-dev liblzma-dev fuse-dev attr-dev rsync \
15 python-distribute python-llfuse python-pyliblzma python-pycryptopp python-apsw \
16 python-pytest python-py python-unittest2"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i -e 's|import sys|&\nimport ssl|' -e 's|http:|https:|' -e \
22 's|.*urlopen(url|\t ssl._create_default_https_context = ssl._create_unverified_context\n&|' \
23 util/distribute_setup.py
24 python setup.py build &&
25 python setup.py test &&
26 python setup.py install --root=$DESTDIR
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/usr $fs
33 }