# SliTaz package receipt.

PACKAGE="python-pygame-dev"
VERSION="1.9.1release"
CATEGORY="development"
SHORT_DESC="Python game development files."
MAINTAINER="claudinei@slitaz.org"
WEB_SITE="http://www.pygame.org/"
WANTED="python-pygame"

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
	mkdir -p $fs/usr/lib/$PYTHON_LIB/site-packages/pygame
	cp -a $install/usr/include $fs/usr
	cp -a $install/usr/lib/$PYTHON_LIB/site-packages/pygame/examples \
		$fs/usr/lib/$PYTHON_LIB/site-packages/pygame
	cp -a $install/usr/lib/$PYTHON_LIB/site-packages/pygame/tests \
		$fs/usr/lib/$PYTHON_LIB/site-packages/pygame
}