void-packages/srcpkgs/python-crypto/template
2014-06-18 16:09:08 +02:00

23 lines
719 B
Text

# Template file for 'python-crypto'
pkgname=python-crypto
version=2.6.1
revision=3
wrksrc="pycrypto-${version}"
replaces="pycrypto>=0"
build_style=python-module
hostmakedepends="python-devel"
makedepends="gmp-devel python-devel"
pycompile_module="Crypto"
short_desc="The Python Cryptography Toolkit"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="https://www.dlitz.net/software/pycrypto/"
license="PSF, Public domain"
distfiles="http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/pycrypto-$version.tar.gz"
checksum=f2ce1e989b272cfcb677616763e0a2e7ec659effa67a88aa92b3a65528f60a3c
pre_build() {
if [ "$CROSS_BUILD" ]; then
sed -e "s|'/usr/include/'|''|g" -i setup.py
fi
CC= CFLAGS= ./configure ${configure_args}
}