wok-current view pycrypto/receipt @ rev 9737

slim: fix DESTDIR is needed and build deps
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 10 00:34:33 2011 +0200 (2011-05-10)
parents 0177abfea307
children 24964bf566b2
line source
1 # SliTaz package receipt.
3 PACKAGE="pycrypto"
4 VERSION="2.0.1"
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://www.amk.ca/files/python/crypto/$TARBALL"
11 DEPENDS="python gmp"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 python setup.py build && python setup.py install --root=$PWD/_pkg
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 cp -a $_pkg/usr $fs
24 }