wok-current view 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 source
1 # SliTaz package receipt.
3 PACKAGE="python-opengl"
4 SOURCE="PyOpenGL"
5 VERSION="3.0.2"
6 CATEGORY="development"
7 SHORT_DESC="Cross platform Python binding to OpenGL."
8 MAINTAINER="yuripourre@gmail.com"
9 LICENSE="BSD"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://pyopengl.sf.net"
12 WGET_URL="https://pypi.python.org/packages/source/P/$SOURCE/$TARBALL"
14 https://pypi.python.org/packages/source/P/PyOpenGL/PyOpenGL-3.0.2.tar.gz#md5=77becc24ffc0a6b28030aa109ad7ff8b
16 DEPENDS="python python-numpy python-pil freeglut"
17 BUILD_DEPENDS="python python-dev freeglut-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 {
23 python setup.py build &&
24 python setup.py install --root=$DESTDIR
25 } 2>&1 | grep -Ev '(conftest.c:|configtest.c:)'
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $install/usr $fs
32 }