2006-11-20 07:26:53 +10:00
|
|
|
|
# Description: Python collection of cryptographic algorithms and protocols.
|
|
|
|
|
# URL: http://www.amk.ca/python/code/crypto.html
|
2007-01-20 12:21:06 +10:00
|
|
|
|
# Maintainer: James Mills, prologic at shortcircuit dot net dot au
|
2006-11-20 07:26:53 +10:00
|
|
|
|
# Packager: Youn<75>s Hafri <ycrux@club-internet.fr>
|
|
|
|
|
#
|
|
|
|
|
# Depends on: python
|
2006-11-14 09:01:22 +10:00
|
|
|
|
|
|
|
|
|
name=pycrypto
|
|
|
|
|
version=2.0.1
|
2007-03-24 23:45:54 +10:00
|
|
|
|
release=2
|
2006-11-14 09:01:22 +10:00
|
|
|
|
source=(http://www.amk.ca/files/python/crypto/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
|
|
build () {
|
2006-11-20 07:26:53 +10: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 09:01:22 +10:00
|
|
|
|
}
|