wok annotate pycrypto/receipt @ rev 10033
libtool: we want to cross compile it
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 20 03:09:27 2011 +0200 (2011-05-20) |
parents | f3327707164a |
children | ac0fe5ccf3e7 |
rev | line source |
---|---|
pascal@2148 | 1 # SliTaz package receipt. |
pascal@2148 | 2 |
pascal@2148 | 3 PACKAGE="pycrypto" |
pascal@2148 | 4 VERSION="2.0.1" |
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" |
pascal@2148 | 10 WGET_URL="http://www.amk.ca/files/python/crypto/$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 |
pascal@2148 | 18 python setup.py build && python setup.py install --root=$PWD/_pkg |
pascal@2148 | 19 } |
pascal@2148 | 20 |
pascal@2148 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2148 | 22 genpkg_rules() |
pascal@2148 | 23 { |
pascal@2148 | 24 cp -a $_pkg/usr $fs |
pascal@2148 | 25 } |
pascal@2148 | 26 |