wok annotate python-opengl-accelerate/receipt @ rev 24927
updated mpg123 and mpg123-dev (1.25.13 -> 1.29.3)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 13 14:23:00 2022 +0100 (2022-04-13) |
parents | 1df6fa555414 |
children |
rev | line source |
---|---|
yuripourre@18662 | 1 # SliTaz package receipt. |
yuripourre@18662 | 2 |
yuripourre@18662 | 3 PACKAGE="python-opengl-accelerate" |
Hans-G?nter@23519 | 4 VERSION="3.1.5" |
yuripourre@18662 | 5 CATEGORY="development" |
yuripourre@18662 | 6 SHORT_DESC="Cross platform Python binding to OpenGL." |
yuripourre@18662 | 7 MAINTAINER="yuripourre@gmail.com" |
yuripourre@18662 | 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-accelerate" |
yuripourre@18662 | 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@18662 | 14 |
yuripourre@18662 | 15 DEPENDS="python python-opengl" |
yuripourre@18662 | 16 BUILD_DEPENDS="python python-dev python-opengl" |
yuripourre@18662 | 17 |
pascal@24383 | 18 # What is the latest version available today? |
pascal@24288 | 19 current_version() |
pascal@24288 | 20 { |
pascal@24383 | 21 wget -O - $WEB_SITE 2>/dev/null | sed '/PyOpenGL [0-9]/!d;s|.*PyOpenGL ||;s|<.*||;q' |
pascal@24288 | 22 } |
pascal@24288 | 23 |
yuripourre@18662 | 24 # Rules to configure and make the package. |
yuripourre@18662 | 25 compile_rules() |
yuripourre@18662 | 26 { |
yuripourre@18662 | 27 { |
yuripourre@18662 | 28 python setup.py build && |
yuripourre@18662 | 29 python setup.py install --root=$DESTDIR |
yuripourre@18662 | 30 } 2>&1 | grep -Ev '(conftest.c:|configtest.c:)' |
yuripourre@18662 | 31 } |
yuripourre@18662 | 32 |
yuripourre@18662 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
yuripourre@18662 | 34 genpkg_rules() |
yuripourre@18662 | 35 { |
Hans-G?nter@23519 | 36 cp -a $install/usr $fs |
yuripourre@18662 | 37 } |