2010-11-27 21:31:08 +00:00
|
|
|
# Template file for 'pycrypto'
|
|
|
|
pkgname=pycrypto
|
2013-12-28 16:05:41 +00:00
|
|
|
version=2.6.1
|
2014-02-04 16:27:02 +00:00
|
|
|
revision=2
|
2010-11-27 21:31:08 +00:00
|
|
|
build_style=python-module
|
2013-12-28 16:05:41 +00:00
|
|
|
hostmakedepends="python"
|
2012-05-23 16:26:56 +00:00
|
|
|
makedepends="gmp-devel python-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
pycompile_module="Crypto"
|
2010-11-27 21:31:08 +00:00
|
|
|
short_desc="The Python Cryptography Toolkit"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-02-21 18:55:18 +00:00
|
|
|
homepage="https://www.dlitz.net/software/pycrypto/"
|
|
|
|
license="PSF, Public domain"
|
|
|
|
distfiles="http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/$pkgname-$version.tar.gz"
|
2013-12-28 16:05:41 +00:00
|
|
|
checksum=f2ce1e989b272cfcb677616763e0a2e7ec659effa67a88aa92b3a65528f60a3c
|
2010-11-27 21:31:08 +00:00
|
|
|
|
2013-02-21 18:55:18 +00:00
|
|
|
pre_build() {
|
2013-04-08 23:49:27 +00:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
2013-02-21 18:55:18 +00:00
|
|
|
sed -e "s|'/usr/include/'|''|g" -i setup.py
|
|
|
|
fi
|
2013-12-28 16:05:41 +00:00
|
|
|
CC= CFLAGS= ./configure ${configure_args}
|
2013-02-21 18:55:18 +00:00
|
|
|
}
|