wok annotate python-dev/receipt @ rev 14794
catfish: fix genpkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 08 20:42:48 2013 +0000 (2013-07-08) |
parents | 3ab0e975f37e |
children | fd4f1e692109 |
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" |
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 |
slaxemulator@14609 | 17 cp -a $install/usr/include $fs/usr |
slaxemulator@14609 | 18 cp -a $install/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 |