contrib/pycrypto/Pkgfile

17 lines
497 B
Plaintext
Raw Normal View History

2015-08-05 14:00:47 +02: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 10:55:23 +01:00
# Packager: Lucas Hazel, lucas at die dot net dot au
2015-08-05 14:00:47 +02:00
# Depends on: libgmp python
2006-11-14 00:01:22 +01:00
name=pycrypto
2015-08-05 14:00:47 +02:00
version=2.6.1
2013-03-27 14:16:36 +01:00
release=1
source=(https://pypi.python.org/packages/source/p/$name/$name-$version.tar.gz)
2006-11-14 00:01:22 +01:00
2010-12-21 10:55:23 +01:00
build() {
cd $name-$version
2015-08-05 14:00:47 +02:00
/usr/bin/python setup.py build
/usr/bin/python setup.py install --root=$PKG --optimize=1
2006-11-14 00:01:22 +01:00
}