wok view python-dev/receipt @ rev 7417

puzzles: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 28 12:41:13 2010 +0100 (2010-11-28)
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 }