wok view pyopenssl/receipt @ rev 8647
Fixed xz post_remove.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Feb 15 19:35:52 2011 +0000 (2011-02-15) |
parents | 9241ac41c567 |
children | c7c06538689e |
line source
1 # SliTaz package receipt.
3 PACKAGE="pyopenssl"
4 VERSION="0.10"
5 CATEGORY="development"
6 SHORT_DESC="OpenSSL library subset wrapper for python."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="pyOpenSSL"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://pyopenssl.sourceforge.net/"
11 WGET_URL="http://pypi.python.org/packages/source/p/$SOURCE/$TARBALL"
12 DEPENDS="python openssl"
13 BUILD_DEPENDS="python python-dev openssl-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py build && python setup.py install --root=$PWD/_pkg
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 cp -a $_pkg/usr $fs
26 find $fs/usr/lib/ -name "*.pyc" -delete
27 }