wok annotate pycrypto/receipt @ rev 16711
Up: tzdata (2014d)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed May 28 22:28:18 2014 +0300 (2014-05-28) |
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 |