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