wok-6.x view pycrypto/receipt @ rev 14509
get-src2pkg: fix pkg name
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 14 07:41:25 2013 +0200 (2013-05-14) |
parents | 24964bf566b2 |
children | 2a5cc8208d36 |
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 }