wok-stable view python-dev/receipt @ rev 7469
Fix removing pyconfig.h file from python-dev.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Dec 01 16:49:17 2010 +0000 (2010-12-01) |
parents | a238d58b4e7a |
children | de65a7ac7459 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-dev"
4 VERSION="2.7.1"
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 python_version=${VERSION:0:3}
17 mkdir -p $fs/usr/bin
18 cp -a $WOK/$WANTED/$SOURCE-$python_version/_pkg/usr/include $fs/usr
19 cp -a $WOK/$WANTED/$SOURCE-$python_version/_pkg/usr/bin/*-config $fs/usr/bin
20 chmod 755 $fs/usr/bin/*-config
21 # in python package now
22 rm $fs/usr/include/${WANTED}$python_version/pyconfig.h
23 }