wok view pycrypto/receipt @ rev 10030
gcc: use CONFIGURE_ARGS so we can cross compile from --build system for --host system (Tank: i686 --> i486)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 20 01:50:57 2011 +0200 (2011-05-20) |
parents | f3327707164a |
children | ac0fe5ccf3e7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pycrypto"
4 VERSION="2.0.1"
5 CATEGORY="development"
6 SHORT_DESC="Cryptographic algorithms and protocols for python."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.amk.ca/python/code/crypto"
10 WGET_URL="http://www.amk.ca/files/python/crypto/$TARBALL"
11 DEPENDS="python gmp"
12 BUILD_DEPENDS="python-dev gmp-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 python setup.py build && python setup.py install --root=$PWD/_pkg
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 cp -a $_pkg/usr $fs
25 }