wok-next annotate python-dev/receipt @ rev 9756
tilda: fix BUILD_DEPENDS
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 11 14:02:25 2011 +0200 (2011-05-11) |
parents | df613de5b199 |
children | 3ab0e975f37e |
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 cp -a $_pkg/usr/include $fs/usr |
gokhlayeh@7717 | 18 cp -a $_pkg/usr/bin/*-config $fs/usr/bin |
pankso@18 | 19 chmod 755 $fs/usr/bin/*-config |
slaxemulator@6616 | 20 # in python package now |
slaxemulator@7470 | 21 python_version=${VERSION:0:3} |
slaxemulator@7469 | 22 rm $fs/usr/include/${WANTED}$python_version/pyconfig.h |
pankso@18 | 23 } |
pankso@18 | 24 |