wok annotate python-opengl/receipt @ rev 21989
fasm: build fasmarm
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 15 18:06:41 2019 +0200 (2019-10-15) |
parents | 7cd0cf16851e |
children | 122579ad0bb4 |
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 DEPENDS="python python-numpy python-pil freeglut" |
yuripourre@18660 | 15 BUILD_DEPENDS="python python-dev freeglut-dev" |
yuripourre@18660 | 16 |
yuripourre@18660 | 17 # Rules to configure and make the package. |
yuripourre@18660 | 18 compile_rules() |
yuripourre@18660 | 19 { |
yuripourre@18660 | 20 { |
yuripourre@18660 | 21 python setup.py build && |
yuripourre@18660 | 22 python setup.py install --root=$DESTDIR |
yuripourre@18660 | 23 } 2>&1 | grep -Ev '(conftest.c:|configtest.c:)' |
yuripourre@18660 | 24 } |
yuripourre@18660 | 25 |
yuripourre@18660 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
yuripourre@18660 | 27 genpkg_rules() |
yuripourre@18660 | 28 { |
yuripourre@18660 | 29 cp -a $install/usr $fs |
yuripourre@18660 | 30 } |