wok-current view pycrypto/receipt @ rev 16240
picoblog: browsers should not execute TARBALL on mirror
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 03 07:03:51 2014 +0000 (2014-04-03) |
parents | ac0fe5ccf3e7 |
children | 16df76e1fc6a |
line source
1 # SliTaz package receipt.
3 PACKAGE="pycrypto"
4 VERSION="2.3"
5 CATEGORY="development"
6 SHORT_DESC="Cryptographic algorithms and protocols for python."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="PublicDomain"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.amk.ca/python/code/crypto"
11 WGET_URL="http://ftp.dlitz.net/pub/dlitz/crypto/$PACKAGE/$TARBALL"
13 DEPENDS="python gmp"
14 BUILD_DEPENDS="python-dev gmp-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 python setup.py build &&
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $install/usr $fs
28 }