20 lines
537 B
Plaintext
20 lines
537 B
Plaintext
# Description: Python collection of cryptographic algorithms and protocols.
|
|
# URL: http://www.amk.ca/python/code/crypto.html
|
|
# Maintainer: James Mills, prologic at shortcircuit dot net dot au
|
|
# Packager: Younès Hafri <ycrux@club-internet.fr>
|
|
#
|
|
# Depends on: python
|
|
|
|
name=pycrypto
|
|
version=2.0.1
|
|
release=2
|
|
source=(http://www.amk.ca/files/python/crypto/$name-$version.tar.gz)
|
|
|
|
build () {
|
|
mkdir -p $PKG/usr
|
|
cd $name-$version
|
|
python setup.py build
|
|
python setup.py install --home=$PKG/usr
|
|
chown -R root:root $PKG
|
|
}
|