2015-08-05 22:00:47 +10:00
|
|
|
# Description: Python collection of cryptographic algorithms and protocols.
|
|
|
|
# URL: http://www.dlitz.net/software/pycrypto/
|
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2010-12-21 11:55:23 +02:00
|
|
|
# Packager: Lucas Hazel, lucas at die dot net dot au
|
2015-08-05 22:00:47 +10:00
|
|
|
# Depends on: libgmp python
|
2006-11-14 09:01:22 +10:00
|
|
|
|
|
|
|
name=pycrypto
|
2015-08-05 22:00:47 +10:00
|
|
|
version=2.6.1
|
2013-03-27 15:16:36 +02:00
|
|
|
release=1
|
|
|
|
source=(https://pypi.python.org/packages/source/p/$name/$name-$version.tar.gz)
|
2006-11-14 09:01:22 +10:00
|
|
|
|
2010-12-21 11:55:23 +02:00
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2015-08-05 22:00:47 +10:00
|
|
|
/usr/bin/python setup.py build
|
|
|
|
/usr/bin/python setup.py install --root=$PKG --optimize=1
|
2006-11-14 09:01:22 +10:00
|
|
|
}
|