wok annotate python-pycryptopp/receipt @ rev 14618
mc: Clean up.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Jun 01 09:59:57 2013 +0000 (2013-06-01) |
parents | |
children | fd4f1e692109 |
rev | line source |
---|---|
pascal@14376 | 1 # SliTaz package receipt. |
pascal@14376 | 2 |
pascal@14376 | 3 PACKAGE="python-pycryptopp" |
pascal@14376 | 4 VERSION="0.6.0" |
pascal@14376 | 5 CATEGORY="development" |
pascal@14376 | 6 SHORT_DESC="Wrapper around a few algorithms from Crypto++ and python-Ed25519." |
pascal@14376 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14376 | 8 SOURCE="pycryptopp" |
pascal@14376 | 9 TARBALL="$SOURCE-$VERSION.1206569328141510525648634803928199668821045408958.tar.gz" |
pascal@14376 | 10 WEB_SITE="http://pypi.python.org/pypi/pycryptopp" |
pascal@14376 | 11 WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@14376 | 12 |
pascal@14376 | 13 DEPENDS="python" |
pascal@14376 | 14 BUILD_DEPENDS="python-dev setuptools" |
pascal@14376 | 15 |
pascal@14376 | 16 # Rules to configure and make the package. |
pascal@14376 | 17 compile_rules() |
pascal@14376 | 18 { |
pascal@14376 | 19 cd $src |
pascal@14376 | 20 python setup.py build |
pascal@14376 | 21 python setup.py install --root=$DESTDIR |
pascal@14376 | 22 } |
pascal@14376 | 23 |
pascal@14376 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14376 | 25 genpkg_rules() |
pascal@14376 | 26 { |
pascal@14376 | 27 mkdir -p $fs/usr |
pascal@14376 | 28 cp -a $install/usr/lib $fs/usr |
pascal@14376 | 29 } |
pascal@14376 | 30 |