# SliTaz package receipt.

PACKAGE="pycrypto"
VERSION="2.3"
CATEGORY="development"
SHORT_DESC="Cryptographic algorithms and protocols for python."
MAINTAINER="pascal.bellard@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.amk.ca/python/code/crypto"
WGET_URL="http://ftp.dlitz.net/pub/dlitz/crypto/$PACKAGE/$TARBALL"
DEPENDS="python gmp"
BUILD_DEPENDS="python-dev gmp-dev"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	python setup.py build && 
	python setup.py install --root=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	cp -a $_pkg/usr $fs
}