wok annotate python-dev/receipt @ rev 18035
Up: tazpanel (480), tazpkg (802)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 09 21:58:06 2015 +0200 (2015-05-09) |
parents | fd4f1e692109 |
children | fb9df69f8567 |
rev | line source |
---|---|
pankso@18 | 1 # SliTaz package receipt. |
pankso@18 | 2 |
pankso@18 | 3 PACKAGE="python-dev" |
slaxemulator@14609 | 4 VERSION="2.7.5" |
pankso@199 | 5 CATEGORY="development" |
pankso@18 | 6 SHORT_DESC="The Python programming language devel files." |
pankso@18 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15378 | 8 LICENSE="PSL" |
pankso@18 | 9 WANTED="python" |
pankso@18 | 10 SOURCE="Python" |
pankso@18 | 11 WEB_SITE="http://www.python.org/" |
pankso@16307 | 12 HOST_ARCH="i486 arm" |
pankso@18 | 13 |
pascal@15378 | 14 DEPENDS="python" |
pascal@15378 | 15 |
pankso@18 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@18 | 17 genpkg_rules() |
pankso@18 | 18 { |
pankso@18 | 19 mkdir -p $fs/usr/bin |
slaxemulator@14609 | 20 cp -a $install/usr/include $fs/usr |
slaxemulator@14609 | 21 cp -a $install/usr/bin/*-config $fs/usr/bin |
pankso@18 | 22 chmod 755 $fs/usr/bin/*-config |
slaxemulator@6616 | 23 # in python package now |
slaxemulator@7470 | 24 python_version=${VERSION:0:3} |
slaxemulator@7469 | 25 rm $fs/usr/include/${WANTED}$python_version/pyconfig.h |
pankso@18 | 26 } |
pankso@18 | 27 |