wok-current annotate python-dev/receipt @ rev 8630
Up: libgudev 166
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Feb 15 03:16:51 2011 +0100 (2011-02-15) |
parents | de65a7ac7459 |
children | be13f25e790b |
rev | line source |
---|---|
pankso@18 | 1 # SliTaz package receipt. |
pankso@18 | 2 |
pankso@18 | 3 PACKAGE="python-dev" |
slaxemulator@7446 | 4 VERSION="2.7.1" |
pankso@199 | 5 CATEGORY="development" |
pankso@18 | 6 SHORT_DESC="The Python programming language devel files." |
pankso@18 | 7 MAINTAINER="pankso@slitaz.org" |
slaxemulator@6616 | 8 DEPENDS="python" |
pankso@18 | 9 WANTED="python" |
pankso@18 | 10 SOURCE="Python" |
pankso@18 | 11 WEB_SITE="http://www.python.org/" |
pankso@18 | 12 |
pankso@18 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@18 | 14 genpkg_rules() |
pankso@18 | 15 { |
pankso@18 | 16 mkdir -p $fs/usr/bin |
gokhlayeh@7717 | 17 _pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg |
gokhlayeh@7717 | 18 cp -a $_pkg/usr/include $fs/usr |
gokhlayeh@7717 | 19 cp -a $_pkg/usr/bin/*-config $fs/usr/bin |
pankso@18 | 20 chmod 755 $fs/usr/bin/*-config |
slaxemulator@6616 | 21 # in python package now |
slaxemulator@7470 | 22 python_version=${VERSION:0:3} |
slaxemulator@7469 | 23 rm $fs/usr/include/${WANTED}$python_version/pyconfig.h |
pankso@18 | 24 } |
pankso@18 | 25 |