2006-11-19 22:26:53 +01:00
|
|
|
|
# Description: Python collection of cryptographic algorithms and protocols.
|
|
|
|
|
# URL: http://www.amk.ca/python/code/crypto.html
|
2007-01-20 03:21:06 +01:00
|
|
|
|
# Maintainer: James Mills, prologic at shortcircuit dot net dot au
|
2006-11-19 22:26:53 +01:00
|
|
|
|
# Packager: Youn<75>s Hafri <ycrux@club-internet.fr>
|
|
|
|
|
#
|
|
|
|
|
# Depends on: python
|
2006-11-14 00:01:22 +01:00
|
|
|
|
|
|
|
|
|
name=pycrypto
|
|
|
|
|
version=2.0.1
|
|
|
|
|
release=1
|
|
|
|
|
source=(http://www.amk.ca/files/python/crypto/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
|
|
build () {
|
2006-11-19 22:26:53 +01:00
|
|
|
|
mkdir -p $PKG/usr
|
|
|
|
|
cd $name-$version
|
|
|
|
|
python setup.py build
|
|
|
|
|
python setup.py install --home=$PKG/usr
|
|
|
|
|
chown -R root:root $PKG
|
2006-11-14 00:01:22 +01:00
|
|
|
|
}
|