wok view pyopenssl/receipt @ rev 11845

vanessa_adt: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 27 08:26:19 2012 +0100 (2012-02-27)
parents c7c06538689e
children bf4a09ef1d2e
line source
1 # SliTaz package receipt.
3 PACKAGE="pyopenssl"
4 VERSION="0.13"
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="https://launchpad.net/pyopenssl/"
11 WGET_URL="http://pypi.python.org/packages/source/p/pyOpenSSL/$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=$DESTDIR
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 cp -a $_pkg/usr $fs
26 }