wok annotate pycrypto/receipt @ rev 20102
Add plsh & pypdf2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 09 13:07:28 2017 +0200 (2017-10-09) |
parents | 2a5cc8208d36 |
children | 8dd8bab3f0ca |
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 { |
slaxemulator@10167 | 19 python setup.py build && |
slaxemulator@10167 | 20 python setup.py install --root=$DESTDIR |
pascal@2148 | 21 } |
pascal@2148 | 22 |
pascal@2148 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2148 | 24 genpkg_rules() |
pascal@2148 | 25 { |
pascal@15379 | 26 cp -a $install/usr $fs |
pascal@2148 | 27 } |