wok-next view python-psutil/receipt @ rev 20806
I. node update: security -> https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/ 9.5.0 -> 9.11.2 II. add checksum
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed Jun 13 08:26:54 2018 +0000 (2018-06-13) |
parents | 6c73b944e8dd |
children | 9b3461bf373c |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-psutil"
4 VERSION="0.6.1"
5 CATEGORY="development"
6 SHORT_DESC="A process and system utilities module for Python."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="BSD"
9 SOURCE="psutil"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://code.google.com/p/psutil/"
12 WGET_URL="http://psutil.googlecode.com/files/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # Cross compilation hack
21 case "$ARCH" in
22 arm*)
23 mv /usr/bin/i486-slitaz-linux-gcc /tmp &&
24 ln -s /cross/${ARCH}/tools/bin/arm-slitaz-linux-gnueabi-gcc \
25 /usr/bin/i486-slitaz-linux-gcc ;;
26 esac &&
27 python setup.py install --root=$DESTDIR
28 case "$ARCH" in
29 arm*)
30 rm /usr/bin/i486-slitaz-linux-gcc &&
31 mv /tmp/i486-slitaz-linux-gcc /usr/bin ;;
32 esac
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/usr $fs
39 }