wok-next diff pyopenssl/receipt @ rev 20959

Fix minicom
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 06 11:27:41 2018 +0200 (2018-09-06)
parents 6c73b944e8dd
children
line diff
     1.1 --- a/pyopenssl/receipt	Mon Feb 26 04:46:49 2018 +0200
     1.2 +++ b/pyopenssl/receipt	Thu Sep 06 11:27:41 2018 +0200
     1.3 @@ -1,27 +1,25 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="pyopenssl"
     1.8  VERSION="17.3.0"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="OpenSSL library subset wrapper for python."
    1.11 +SHORT_DESC="OpenSSL library subset wrapper for Python"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="Apache"
    1.14 +WEB_SITE="https://launchpad.net/pyopenssl/"
    1.15 +
    1.16  SOURCE="pyOpenSSL"
    1.17  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.18 -WEB_SITE="https://launchpad.net/pyopenssl/"
    1.19  WGET_URL="https://github.com/pyca/pyopenssl/archive/$VERSION.tar.gz"
    1.20  
    1.21 -DEPENDS="python openssl"
    1.22  BUILD_DEPENDS="python python-dev openssl-dev"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -	python setup.py build && python setup.py install --root=$DESTDIR
    1.28 +compile_rules() {
    1.29 +	python setup.py build &&
    1.30 +	python setup.py install --root=$DESTDIR
    1.31  }
    1.32  
    1.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 -genpkg_rules()
    1.35 -{
    1.36 -	cp -a $install/usr $fs
    1.37 +genpkg_rules() {
    1.38 +	copy @std
    1.39 +	DEPENDS="python openssl"
    1.40  }