wok view python-dev/receipt @ rev 16307

ARM: now python seems to cross compile (if libpython.so ARM are installed in sysroot)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 08 00:37:42 2014 +0200 (2014-04-08)
parents fd4f1e692109
children fb9df69f8567
line source
1 # SliTaz package receipt.
3 PACKAGE="python-dev"
4 VERSION="2.7.5"
5 CATEGORY="development"
6 SHORT_DESC="The Python programming language devel files."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="PSL"
9 WANTED="python"
10 SOURCE="Python"
11 WEB_SITE="http://www.python.org/"
12 HOST_ARCH="i486 arm"
14 DEPENDS="python"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/usr/bin
20 cp -a $install/usr/include $fs/usr
21 cp -a $install/usr/bin/*-config $fs/usr/bin
22 chmod 755 $fs/usr/bin/*-config
23 # in python package now
24 python_version=${VERSION:0:3}
25 rm $fs/usr/include/${WANTED}$python_version/pyconfig.h
26 }