wok-6.x annotate pyopenssl/receipt @ rev 22678
cookutils: do not break build env !
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 18 16:22:42 2020 +0100 (2020-01-18) |
parents | 5e3e8dca359a |
children | 907a77dcc2a7 |
rev | line source |
---|---|
pascal@2150 | 1 # SliTaz package receipt. |
pascal@2150 | 2 |
pascal@2150 | 3 PACKAGE="pyopenssl" |
devl547@19599 | 4 VERSION="16.2.0" |
pascal@2150 | 5 CATEGORY="development" |
pascal@2150 | 6 SHORT_DESC="OpenSSL library subset wrapper for python." |
pascal@2150 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15376 | 8 LICENSE="Apache" |
pascal@2150 | 9 SOURCE="pyOpenSSL" |
devl547@19599 | 10 TARBALL="$VERSION.tar.gz" |
slaxemulator@9463 | 11 WEB_SITE="https://launchpad.net/pyopenssl/" |
devl547@19599 | 12 WGET_URL="https://github.com/pyca/pyopenssl/archive/$TARBALL" |
pascal@15376 | 13 |
pascal@2150 | 14 DEPENDS="python openssl" |
pascal@21581 | 15 BUILD_DEPENDS="python python-dev openssl-dev python-setuptools" |
pascal@2150 | 16 |
pascal@2150 | 17 # Rules to configure and make the package. |
pascal@2150 | 18 compile_rules() |
pascal@2150 | 19 { |
slaxemulator@9463 | 20 python setup.py build && python setup.py install --root=$DESTDIR |
pascal@2150 | 21 } |
pascal@2150 | 22 |
pascal@2150 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2150 | 24 genpkg_rules() |
pascal@2150 | 25 { |
pascal@15376 | 26 cp -a $install/usr $fs |
pascal@2150 | 27 } |