wok-6.x view pyopenssl/receipt @ rev 7418
nvidia: only use .unblocked_ioctl since 2.6.36
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 28 12:56:09 2010 +0100 (2010-11-28) |
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 }