wok view python-pygame-dev/receipt @ rev 15265
Up cookutils (3.1.7)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 25 09:50:51 2013 +0000 (2013-09-25) |
parents | |
children | fd4f1e692109 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pygame-dev"
4 VERSION="1.9.1release"
5 CATEGORY="development"
6 SHORT_DESC="Python game development files."
7 MAINTAINER="claudinei@slitaz.org"
8 WEB_SITE="http://www.pygame.org/"
9 WANTED="python-pygame"
11 # Rules to gen a SliTaz package suitable for Tazpkg.
12 genpkg_rules()
13 {
14 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
15 mkdir -p $fs/usr/lib/$PYTHON_LIB/site-packages/pygame
16 cp -a $install/usr/include $fs/usr
17 cp -a $install/usr/lib/$PYTHON_LIB/site-packages/pygame/examples \
18 $fs/usr/lib/$PYTHON_LIB/site-packages/pygame
19 cp -a $install/usr/lib/$PYTHON_LIB/site-packages/pygame/tests \
20 $fs/usr/lib/$PYTHON_LIB/site-packages/pygame
21 }