wok-current annotate python-dev/receipt @ rev 13330
linux: add RT2800PCI
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 04 11:11:15 2012 +0200 (2012-09-04) |
parents | be13f25e790b |
children | 6a489592a614 |
rev | line source |
---|---|
pankso@18 | 1 # SliTaz package receipt. |
pankso@18 | 2 |
pankso@18 | 3 PACKAGE="python-dev" |
slaxemulator@10975 | 4 VERSION="2.7.2" |
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 |