wok view python-opengl/receipt @ rev 20345

libksba update: 1.3.4 (2016 May) -> 1.3.5 (2016 August)
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 10:31:28 2018 +0000 (2018-06-09)
parents 7cd0cf16851e
children 122579ad0bb4
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 DEPENDS="python python-numpy python-pil freeglut"
15 BUILD_DEPENDS="python python-dev freeglut-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 {
21 python setup.py build &&
22 python setup.py install --root=$DESTDIR
23 } 2>&1 | grep -Ev '(conftest.c:|configtest.c:)'
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/usr $fs
30 }