wok-current view pycrypto/receipt @ rev 24700

updated kexec-tools (2.0.17 -> 2.0.23)
author Hans-G?nter Theisgen
date Mon Mar 14 07:45:56 2022 +0100 (2022-03-14)
parents dda811c974d8
children 3258d19b6f6c
line source
1 # SliTaz package receipt.
3 PACKAGE="pycrypto"
4 VERSION="2.6.1"
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="https://ftp.dlitz.net/pub/dlitz/crypto/$PACKAGE/$TARBALL"
14 DEPENDS="gmp python"
15 BUILD_DEPENDS="gmp-dev python-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py build &&
28 python setup.py install --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/usr $fs
35 }