wok-stable view pycrypto/receipt @ rev 10353
gcc: Removed gawk in build depends. Added check like the one glibc has to install if cook script is found. Fixed tazwok cookorder i hope.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun May 22 16:40:19 2011 +0000 (2011-05-22) |
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 }