wok-6.x view python-dev/receipt @ rev 12207

Up slitaz-boot-scripts (4.7.1) fix 256Mb ram case
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 30 00:41:00 2012 +0200 (2012-03-30)
parents be13f25e790b
children 6a489592a614
line source
1 # SliTaz package receipt.
3 PACKAGE="python-dev"
4 VERSION="2.7.2"
5 CATEGORY="development"
6 SHORT_DESC="The Python programming language devel files."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="python"
9 WANTED="python"
10 SOURCE="Python"
11 WEB_SITE="http://www.python.org/"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/usr/bin
17 cp -a $_pkg/usr/include $fs/usr
18 cp -a $_pkg/usr/bin/*-config $fs/usr/bin
19 chmod 755 $fs/usr/bin/*-config
20 # in python package now
21 python_version=${VERSION:0:3}
22 rm $fs/usr/include/${WANTED}$python_version/pyconfig.h
23 }