wok view s3ql/receipt @ rev 20654
busybox: add cook workaround
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 13 11:19:21 2019 +0100 (2019-01-13) |
parents | 7390f8de9846 |
children | 8dd8bab3f0ca |
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="http://code.google.com/p/$PACKAGE/"
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 }