wok view python-dev/receipt @ rev 6616

Fixed mercurial. Need pyconfig.h for mercurial to work. So i added this to python package since pyconfig.h maybe need for more python programs. I also removed all .pyc and .pyo files from python. Removed about 4mb from python by doing that.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Oct 09 20:49:19 2010 +0000 (2010-10-09)
parents 2614c1e9d774
children 15b3f14c3001
line source
1 # SliTaz package receipt.
3 PACKAGE="python-dev"
4 VERSION="2.7"
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 $WOK/$WANTED/$SOURCE-$VERSION/_pkg/usr/include $fs/usr
18 cp -a $WOK/$WANTED/$SOURCE-$VERSION/_pkg/usr/bin/*-config $fs/usr/bin
19 chmod 755 $fs/usr/bin/*-config
20 # in python package now
21 rm $fs/usr/include/${PACKAGE}${VERSION}/pyconfig.h
22 }