wok annotate pyopenssl/receipt @ rev 8221

imported patch cleanup_inprogress/slitaz-i18n.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:50 2011 +0100 (2011-01-27)
parents 9241ac41c567
children c7c06538689e
rev   line source
pascal@2150 1 # SliTaz package receipt.
pascal@2150 2
pascal@2150 3 PACKAGE="pyopenssl"
slaxemulator@6775 4 VERSION="0.10"
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@6775 10 WEB_SITE="http://pyopenssl.sourceforge.net/"
slaxemulator@6775 11 WGET_URL="http://pypi.python.org/packages/source/p/$SOURCE/$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
pascal@2150 19 python setup.py build && python setup.py install --root=$PWD/_pkg
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
slaxemulator@6775 26 find $fs/usr/lib/ -name "*.pyc" -delete
pascal@2150 27 }
pascal@2150 28