void-packages/srcpkgs/pycrypto/template
Juan RP a39ae0b92b Update packages that use autoconf cache vars set by environment/autoconf_cache.
Those cached vars are already setup globally, therefore it's not needed to
set them in the template anymore.
2014-02-04 17:27:02 +01:00

22 lines
651 B
Plaintext

# Template file for 'pycrypto'
pkgname=pycrypto
version=2.6.1
revision=2
build_style=python-module
hostmakedepends="python"
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/$pkgname-$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}
}