wok-next diff python-opengl/receipt @ rev 18660
Add python-opengl
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Thu Dec 03 15:21:43 2015 -0200 (2015-12-03) |
parents | |
children | cc462567b1e9 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-opengl/receipt Thu Dec 03 15:21:43 2015 -0200 1.3 @@ -0,0 +1,32 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="python-opengl" 1.7 +SOURCE="PyOpenGL" 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 +https://pypi.python.org/packages/source/P/PyOpenGL/PyOpenGL-3.0.2.tar.gz#md5=77becc24ffc0a6b28030aa109ad7ff8b 1.18 + 1.19 +DEPENDS="python python-numpy python-pil freeglut" 1.20 +BUILD_DEPENDS="python python-dev freeglut-dev" 1.21 + 1.22 +# Rules to configure and make the package. 1.23 +compile_rules() 1.24 +{ 1.25 + { 1.26 + python setup.py build && 1.27 + python setup.py install --root=$DESTDIR 1.28 + } 2>&1 | grep -Ev '(conftest.c:|configtest.c:)' 1.29 +} 1.30 + 1.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 +genpkg_rules() 1.33 +{ 1.34 + cp -a $install/usr $fs 1.35 +}