wok-6.x annotate pyopenssl/receipt @ rev 17252
claws-mail: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 19 14:21:26 2014 +0200 (2014-10-19) |
parents | f26dd888bb33 |
children | 16df76e1fc6a |
rev | line source |
---|---|
pascal@2150 | 1 # SliTaz package receipt. |
pascal@2150 | 2 |
pascal@2150 | 3 PACKAGE="pyopenssl" |
slaxemulator@11030 | 4 VERSION="0.13" |
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" |
pascal@2150 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@9463 | 11 WEB_SITE="https://launchpad.net/pyopenssl/" |
slaxemulator@11030 | 12 WGET_URL="http://pypi.python.org/packages/source/p/pyOpenSSL/$TARBALL" |
pascal@15376 | 13 |
pascal@2150 | 14 DEPENDS="python openssl" |
slaxemulator@6775 | 15 BUILD_DEPENDS="python python-dev openssl-dev" |
pascal@2150 | 16 |
pascal@2150 | 17 # Rules to configure and make the package. |
pascal@2150 | 18 compile_rules() |
pascal@2150 | 19 { |
pascal@2150 | 20 cd $src |
slaxemulator@9463 | 21 python setup.py build && python setup.py install --root=$DESTDIR |
pascal@2150 | 22 } |
pascal@2150 | 23 |
pascal@2150 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2150 | 25 genpkg_rules() |
pascal@2150 | 26 { |
pascal@15376 | 27 cp -a $install/usr $fs |
pascal@2150 | 28 } |
pascal@2150 | 29 |