wok-4.x diff python-pygame-dev/receipt @ rev 11846
Down perl-compress-raw-bzip2 (2.049)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 27 08:31:57 2012 +0100 (2012-02-27) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-pygame-dev/receipt Mon Feb 27 08:31:57 2012 +0100 1.3 @@ -0,0 +1,21 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="python-pygame-dev" 1.7 +VERSION="1.9.1release" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Python game development files." 1.10 +MAINTAINER="claudinei@slitaz.org" 1.11 +WEB_SITE="http://www.pygame.org/" 1.12 +WANTED="python-pygame" 1.13 + 1.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.15 +genpkg_rules() 1.16 +{ 1.17 + PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') 1.18 + mkdir -p $fs/usr/lib/$PYTHON_LIB/site-packages/pygame 1.19 + cp -a $install/usr/include $fs/usr 1.20 + cp -a $install/usr/lib/$PYTHON_LIB/site-packages/pygame/examples \ 1.21 + $fs/usr/lib/$PYTHON_LIB/site-packages/pygame 1.22 + cp -a $install/usr/lib/$PYTHON_LIB/site-packages/pygame/tests \ 1.23 + $fs/usr/lib/$PYTHON_LIB/site-packages/pygame 1.24 +}