wok-current view pyopenssl/receipt @ rev 9300

get-flash-plugin: use busybox wget
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 17 16:20:37 2011 +0100 (2011-03-17)
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 }