wok-next annotate pycrypto/receipt @ rev 15689
Fix dpkg receipt
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Dec 21 07:57:52 2013 +0100 (2013-12-21) |
parents | ac0fe5ccf3e7 |
children | 16df76e1fc6a |
rev | line source |
---|---|
pascal@2148 | 1 # SliTaz package receipt. |
pascal@2148 | 2 |
pascal@2148 | 3 PACKAGE="pycrypto" |
slaxemulator@10167 | 4 VERSION="2.3" |
pascal@2148 | 5 CATEGORY="development" |
pascal@2148 | 6 SHORT_DESC="Cryptographic algorithms and protocols for python." |
pascal@2148 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15379 | 8 LICENSE="PublicDomain" |
pascal@2148 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2148 | 10 WEB_SITE="http://www.amk.ca/python/code/crypto" |
slaxemulator@10167 | 11 WGET_URL="http://ftp.dlitz.net/pub/dlitz/crypto/$PACKAGE/$TARBALL" |
pascal@15379 | 12 |
pascal@5005 | 13 DEPENDS="python gmp" |
claudinei@10022 | 14 BUILD_DEPENDS="python-dev gmp-dev" |
pascal@2148 | 15 |
pascal@2148 | 16 # Rules to configure and make the package. |
pascal@2148 | 17 compile_rules() |
pascal@2148 | 18 { |
pascal@2148 | 19 cd $src |
slaxemulator@10167 | 20 python setup.py build && |
slaxemulator@10167 | 21 python setup.py install --root=$DESTDIR |
pascal@2148 | 22 } |
pascal@2148 | 23 |
pascal@2148 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2148 | 25 genpkg_rules() |
pascal@2148 | 26 { |
pascal@15379 | 27 cp -a $install/usr $fs |
pascal@2148 | 28 } |
pascal@2148 | 29 |