Files
haikuports/dev-python/pycrypto/pycrypto-2.6.1.recipe
2016-03-14 17:13:03 -05:00

50 lines
850 B
Bash

SUMMARY="The Python Cryptography Toolkit"
DESCRIPTION="
This is a collection of both secure hash functions (such as SHA256 and
RIPEMD160), and various encryption algorithms (AES, DES, RSA, ElGamal,
etc.).
"
HOMEPAGE="http://pypi.python.org/pypi/pycrypto/2.6"
SOURCE_URI="http://pypi.python.org/packages/source/p/pycrypto/pycrypto-2.6.1.tar.gz"
REVISION="1"
CHECKSUM_SHA256="f2ce1e989b272cfcb677616763e0a2e7ec659effa67a88aa92b3a65528f60a3c"
ARCHITECTURES="arm ppc x86 x86_gcc2 x86_64"
PROVIDES="
pycrypto = $portVersion
"
REQUIRES="
haiku
cmd:python
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:python
cmd:sed
cmd:awk
cmd:cc
cmd:autoconf
"
BUILD()
{
runConfigure ./configure
python setup.py build
}
INSTALL()
{
python setup.py install --prefix=$prefix
}
LICENSE="pycrypto"
COPYRIGHT="2010 Dwayne C. Litzenberger"