wok annotate python-psutil/receipt @ rev 16815
Up gsettings-desktop-schemas (3.12.2)
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Thu Jul 10 23:12:54 2014 -0300 (2014-07-10) |
parents | 2a5cc8208d36 |
children | 7390f8de9846 |
rev | line source |
---|---|
paul@13599 | 1 # SliTaz package receipt. |
paul@13599 | 2 |
paul@13599 | 3 PACKAGE="python-psutil" |
paul@13599 | 4 VERSION="0.6.1" |
paul@13599 | 5 CATEGORY="development" |
paul@13599 | 6 SHORT_DESC="A process and system utilities module for Python." |
paul@13599 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15379 | 8 LICENSE="BSD" |
paul@13599 | 9 SOURCE="psutil" |
paul@13599 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
paul@13599 | 11 WEB_SITE="http://code.google.com/p/psutil/" |
paul@13599 | 12 WGET_URL="http://psutil.googlecode.com/files/$TARBALL" |
pankso@16505 | 13 HOST_ARCH="i486 arm" |
pascal@15379 | 14 |
paul@13599 | 15 DEPENDS="python" |
paul@13599 | 16 BUILD_DEPENDS="python-dev setuptools" |
paul@13599 | 17 |
paul@13599 | 18 # Rules to configure and make the package. |
paul@13599 | 19 compile_rules() |
paul@13599 | 20 { |
pankso@16505 | 21 # Cross compilation hack |
pankso@16505 | 22 case "$ARCH" in |
pankso@16505 | 23 arm*) |
pankso@16505 | 24 mv /usr/bin/i486-slitaz-linux-gcc /tmp && |
pankso@16505 | 25 ln -s /cross/${ARCH}/tools/bin/arm-slitaz-linux-gnueabi-gcc \ |
pankso@16505 | 26 /usr/bin/i486-slitaz-linux-gcc ;; |
pankso@16505 | 27 esac && |
paul@13599 | 28 python setup.py install --root=$DESTDIR |
pankso@16505 | 29 case "$ARCH" in |
pankso@16505 | 30 arm*) |
pankso@16505 | 31 rm /usr/bin/i486-slitaz-linux-gcc && |
pankso@16505 | 32 mv /tmp/i486-slitaz-linux-gcc /usr/bin ;; |
pankso@16505 | 33 esac |
paul@13599 | 34 } |
paul@13599 | 35 |
paul@13599 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@13599 | 37 genpkg_rules() |
paul@13599 | 38 { |
paul@13599 | 39 cp -a $install/usr $fs |
paul@13599 | 40 } |
paul@13599 | 41 |