wok-4.x view pyopenssl/receipt @ rev 7615
Added xorg-dev-proto to xorg-server-dev depends. Needs xorg-dev-proto for pkg-config to work with xorg-server-dev.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Dec 11 21:51:57 2010 +0000 (2010-12-11) |
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 }