wok-4.x view pycrypto/receipt @ rev 11965
tazwok compat: add wget as libt4k_common bdep (https $WGET_URL)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Mar 02 15:32:28 2012 +0100 (2012-03-02) |
parents | 24964bf566b2 |
children |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.amk.ca/python/code/crypto"
10 WGET_URL="http://ftp.dlitz.net/pub/dlitz/crypto/$PACKAGE/$TARBALL"
11 DEPENDS="python gmp"
12 BUILD_DEPENDS="python-dev gmp-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 python setup.py build &&
19 python setup.py install --root=$DESTDIR
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 cp -a $_pkg/usr $fs
26 }