wok annotate python-opengl/receipt @ rev 23886
glibc: fix for binutils 2.29
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 16 09:15:37 2020 +0000 (2020-07-16) |
parents | cc462567b1e9 |
children | 1df6fa555414 |
rev | line source |
---|---|
yuripourre@18660 | 1 # SliTaz package receipt. |
yuripourre@18660 | 2 |
yuripourre@18660 | 3 PACKAGE="python-opengl" |
Hans-G?nter@23519 | 4 VERSION="3.1.5" |
yuripourre@18660 | 5 CATEGORY="development" |
yuripourre@18660 | 6 SHORT_DESC="Cross platform Python binding to OpenGL." |
yuripourre@18660 | 7 MAINTAINER="yuripourre@gmail.com" |
yuripourre@18660 | 8 LICENSE="BSD" |
Hans-G?nter@23519 | 9 WEB_SITE="https://pypi.org/project/PyOpenGL/" |
Hans-G?nter@23519 | 10 |
Hans-G?nter@23519 | 11 SOURCE="PyOpenGL" |
yuripourre@18660 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23519 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
yuripourre@18660 | 14 |
Hans-G?nter@23519 | 15 DEPENDS="freeglut python python-numpy python-pil" |
Hans-G?nter@23519 | 16 BUILD_DEPENDS="freeglut-dev python python-dev" |
yuripourre@18660 | 17 |
yuripourre@18660 | 18 # Rules to configure and make the package. |
yuripourre@18660 | 19 compile_rules() |
yuripourre@18660 | 20 { |
yuripourre@18660 | 21 { |
yuripourre@18660 | 22 python setup.py build && |
yuripourre@18660 | 23 python setup.py install --root=$DESTDIR |
yuripourre@18660 | 24 } 2>&1 | grep -Ev '(conftest.c:|configtest.c:)' |
yuripourre@18660 | 25 } |
yuripourre@18660 | 26 |
yuripourre@18660 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
yuripourre@18660 | 28 genpkg_rules() |
yuripourre@18660 | 29 { |
Hans-G?nter@23519 | 30 cp -a $install/usr $fs |
yuripourre@18660 | 31 } |