wok-6.x view python-distutils-extra/receipt @ rev 24429
updated collectd (5.10.0 -> 5.12.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 12 15:50:46 2022 +0100 (2022-02-12) |
parents | fbdafd10b728 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-distutils-extra"
4 VERSION="2.39"
5 CATEGORY="development"
6 SHORT_DESC="Enhanced distutils package for python."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://launchpad.net/python-distutils-extra"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://launchpad.net/$PACKAGE/trunk/$VERSION/+download/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-setuptools"
17 HOST_ARCH="i486 arm"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $WEB_SITE 2>/dev/null | \
23 sed '/atest version/!d;s|.* is ||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 python setup.py build &&
30 python setup.py install --prefix=/usr --root=$DESTDIR
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/* $fs
37 }