wok-6.x annotate python-llfuse/receipt @ rev 20627
navit: add EXTRA_SOURCE_FILES
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 01 13:07:25 2019 +0100 (2019-01-01) |
parents | 1be66a08b81f |
children | 8dd8bab3f0ca |
rev | line source |
---|---|
pascal@14376 | 1 # SliTaz package receipt. |
pascal@14376 | 2 |
pascal@14376 | 3 PACKAGE="python-llfuse" |
pascal@14376 | 4 SOURCE="llfuse" |
pascal@14376 | 5 VERSION="0.38" |
pascal@14376 | 6 CATEGORY="development" |
pascal@14376 | 7 SHORT_DESC="Python bindings for the low level FUSE API." |
pascal@14376 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15379 | 9 LICENSE="LGPL2" |
pascal@14376 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@14376 | 11 WEB_SITE="http://code.google.com/p/$PACKAGE/" |
pascal@14376 | 12 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL" |
pascal@14376 | 13 |
pascal@14376 | 14 DEPENDS="fuse" |
pascal@20571 | 15 BUILD_DEPENDS="python-dev fuse-dev attr-dev python-distribute openssl" |
pascal@14376 | 16 |
pascal@14376 | 17 # Rules to configure and make the package. |
pascal@14376 | 18 compile_rules() |
pascal@14376 | 19 { |
pascal@20620 | 20 sed -i -e 's|import sys|&\nimport ssl|' -e 's|http:|https:|' -e \ |
pascal@20620 | 21 's|.*urlopen(url|\t ssl._create_default_https_context = ssl._create_unverified_context\n&|' \ |
pascal@20620 | 22 util/distribute_setup.py |
pascal@14376 | 23 python setup.py build && |
pascal@14376 | 24 python setup.py install --root=$DESTDIR |
pascal@14376 | 25 } |
pascal@14376 | 26 |
pascal@14376 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14376 | 28 genpkg_rules() |
pascal@14376 | 29 { |
pascal@14376 | 30 cp -a $install/usr $fs |
pascal@14376 | 31 } |