wok view python-pygame-dev/receipt @ rev 15897
Up tazinst-gui (3.95)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Wed Feb 12 23:00:12 2014 +0100 (2014-02-12) |
parents | ad0ab4909652 |
children | 7390f8de9846 |
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 LICENSE="LGPL"
9 WEB_SITE="http://www.pygame.org/"
10 WANTED="python-pygame"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
16 mkdir -p $fs/usr/lib/$PYTHON_LIB/site-packages/pygame
17 cp -a $install/usr/include $fs/usr
18 cp -a $install/usr/lib/$PYTHON_LIB/site-packages/pygame/examples \
19 $fs/usr/lib/$PYTHON_LIB/site-packages/pygame
20 cp -a $install/usr/lib/$PYTHON_LIB/site-packages/pygame/tests \
21 $fs/usr/lib/$PYTHON_LIB/site-packages/pygame
22 }