wok view pyopenssl/receipt @ rev 15953

arm: fix file cross compilation and add testsuite
author Christophe Lincoln <pankso@slitaz.org>
date Sun Feb 23 15:49:23 2014 +0100 (2014-02-23)
parents f26dd888bb33
children 16df76e1fc6a
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 LICENSE="Apache"
9 SOURCE="pyOpenSSL"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://launchpad.net/pyopenssl/"
12 WGET_URL="http://pypi.python.org/packages/source/p/pyOpenSSL/$TARBALL"
14 DEPENDS="python openssl"
15 BUILD_DEPENDS="python python-dev openssl-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 python setup.py build && python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $install/usr $fs
28 }