wok view python-dev/receipt @ rev 19875

linld: fix chdirname
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 31 12:51:11 2017 +0200 (2017-03-31)
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 }