wok rev 18662
Add python-opengl-accelerate
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Thu Dec 03 15:56:36 2015 -0200 (2015-12-03) |
parents | cc462567b1e9 |
children | 124c3a7da04f |
files | python-opengl-accelerate/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-opengl-accelerate/receipt Thu Dec 03 15:56:36 2015 -0200 1.3 @@ -0,0 +1,30 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="python-opengl-accelerate" 1.7 +SOURCE="PyOpenGL-accelerate" 1.8 +VERSION="3.0.2" 1.9 +CATEGORY="development" 1.10 +SHORT_DESC="Cross platform Python binding to OpenGL." 1.11 +MAINTAINER="yuripourre@gmail.com" 1.12 +LICENSE="BSD" 1.13 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://pyopengl.sf.net" 1.15 +WGET_URL="https://pypi.python.org/packages/source/P/$SOURCE/$TARBALL" 1.16 + 1.17 +DEPENDS="python python-opengl" 1.18 +BUILD_DEPENDS="python python-dev python-opengl" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + { 1.24 + python setup.py build && 1.25 + python setup.py install --root=$DESTDIR 1.26 + } 2>&1 | grep -Ev '(conftest.c:|configtest.c:)' 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + cp -a $install/usr $fs 1.33 +}