wok-current annotate pycrypto/receipt @ rev 10952
Update get-xnviewmp (thanks Saipul)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 11 15:55:20 2011 +0200 (2011-09-11) |
parents | 24964bf566b2 |
children | 2a5cc8208d36 |
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@2148 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2148 | 9 WEB_SITE="http://www.amk.ca/python/code/crypto" |
slaxemulator@10167 | 10 WGET_URL="http://ftp.dlitz.net/pub/dlitz/crypto/$PACKAGE/$TARBALL" |
pascal@5005 | 11 DEPENDS="python gmp" |
claudinei@10022 | 12 BUILD_DEPENDS="python-dev gmp-dev" |
pascal@2148 | 13 |
pascal@2148 | 14 # Rules to configure and make the package. |
pascal@2148 | 15 compile_rules() |
pascal@2148 | 16 { |
pascal@2148 | 17 cd $src |
slaxemulator@10167 | 18 python setup.py build && |
slaxemulator@10167 | 19 python setup.py install --root=$DESTDIR |
pascal@2148 | 20 } |
pascal@2148 | 21 |
pascal@2148 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2148 | 23 genpkg_rules() |
pascal@2148 | 24 { |
pascal@2148 | 25 cp -a $_pkg/usr $fs |
pascal@2148 | 26 } |
pascal@2148 | 27 |