wok-next annotate pyopenssl/receipt @ rev 12521
Up: xorg-mkfontdir, xorg-setxkbmap, xorg-xauth, xorg-xclock, xorg-xcompmgr, xorg-xinput, xorg-xload + clean receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 25 00:15:23 2012 +0200 (2012-04-25) |
parents | c7c06538689e |
children | bf4a09ef1d2e |
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@2150 | 8 SOURCE="pyOpenSSL" |
pascal@2150 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@9463 | 10 WEB_SITE="https://launchpad.net/pyopenssl/" |
slaxemulator@11030 | 11 WGET_URL="http://pypi.python.org/packages/source/p/pyOpenSSL/$TARBALL" |
pascal@2150 | 12 DEPENDS="python openssl" |
slaxemulator@6775 | 13 BUILD_DEPENDS="python python-dev openssl-dev" |
pascal@2150 | 14 |
pascal@2150 | 15 # Rules to configure and make the package. |
pascal@2150 | 16 compile_rules() |
pascal@2150 | 17 { |
pascal@2150 | 18 cd $src |
slaxemulator@9463 | 19 python setup.py build && python setup.py install --root=$DESTDIR |
pascal@2150 | 20 } |
pascal@2150 | 21 |
pascal@2150 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2150 | 23 genpkg_rules() |
pascal@2150 | 24 { |
pascal@2150 | 25 cp -a $_pkg/usr $fs |
pascal@2150 | 26 } |
pascal@2150 | 27 |