wok-current annotate python-pygame-dev/receipt @ rev 11924
Up: squiduardmgr (1.6)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Mar 01 01:12:35 2012 +0100 (2012-03-01) |
parents | |
children | fd4f1e692109 |
rev | line source |
---|---|
pankso@10833 | 1 # SliTaz package receipt. |
pankso@10833 | 2 |
pankso@10833 | 3 PACKAGE="python-pygame-dev" |
pankso@10833 | 4 VERSION="1.9.1release" |
pankso@10833 | 5 CATEGORY="development" |
pankso@10833 | 6 SHORT_DESC="Python game development files." |
pankso@10833 | 7 MAINTAINER="claudinei@slitaz.org" |
pankso@10833 | 8 WEB_SITE="http://www.pygame.org/" |
pankso@10833 | 9 WANTED="python-pygame" |
pankso@10833 | 10 |
pankso@10833 | 11 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10833 | 12 genpkg_rules() |
pankso@10833 | 13 { |
pankso@10833 | 14 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') |
pankso@10833 | 15 mkdir -p $fs/usr/lib/$PYTHON_LIB/site-packages/pygame |
pankso@10833 | 16 cp -a $install/usr/include $fs/usr |
pankso@10833 | 17 cp -a $install/usr/lib/$PYTHON_LIB/site-packages/pygame/examples \ |
pankso@10833 | 18 $fs/usr/lib/$PYTHON_LIB/site-packages/pygame |
pankso@10833 | 19 cp -a $install/usr/lib/$PYTHON_LIB/site-packages/pygame/tests \ |
pankso@10833 | 20 $fs/usr/lib/$PYTHON_LIB/site-packages/pygame |
pankso@10833 | 21 } |