wok-next view pycrypto/receipt @ rev 21066
Switch some python packages to traditional build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 06 13:30:23 2018 +0200 (2018-12-06) |
parents | 5fac1a2da249 |
children |
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="https://www.dlitz.net/software/pycrypto/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://ftp.dlitz.net/pub/dlitz/crypto/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="python-dev gmp-dev"
16 compile_rules() {
17 python -B setup.py build &&
18 python -B setup.py install --root=$install
19 }
21 genpkg_rules() {
22 copy @std
23 DEPENDS="python gmp"
24 }