wok-current annotate python-opengl-accelerate/receipt @ rev 18802

syslinux/iso2exe.sh: fix clear_custom_config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 12 15:40:40 2016 +0100 (2016-01-12)
parents
children 122579ad0bb4
rev   line source
yuripourre@18662 1 # SliTaz package receipt.
yuripourre@18662 2
yuripourre@18662 3 PACKAGE="python-opengl-accelerate"
yuripourre@18662 4 SOURCE="PyOpenGL-accelerate"
yuripourre@18662 5 VERSION="3.0.2"
yuripourre@18662 6 CATEGORY="development"
yuripourre@18662 7 SHORT_DESC="Cross platform Python binding to OpenGL."
yuripourre@18662 8 MAINTAINER="yuripourre@gmail.com"
yuripourre@18662 9 LICENSE="BSD"
yuripourre@18662 10 TARBALL="$SOURCE-$VERSION.tar.gz"
yuripourre@18662 11 WEB_SITE="http://pyopengl.sf.net"
yuripourre@18662 12 WGET_URL="https://pypi.python.org/packages/source/P/$SOURCE/$TARBALL"
yuripourre@18662 13
yuripourre@18662 14 DEPENDS="python python-opengl"
yuripourre@18662 15 BUILD_DEPENDS="python python-dev python-opengl"
yuripourre@18662 16
yuripourre@18662 17 # Rules to configure and make the package.
yuripourre@18662 18 compile_rules()
yuripourre@18662 19 {
yuripourre@18662 20 {
yuripourre@18662 21 python setup.py build &&
yuripourre@18662 22 python setup.py install --root=$DESTDIR
yuripourre@18662 23 } 2>&1 | grep -Ev '(conftest.c:|configtest.c:)'
yuripourre@18662 24 }
yuripourre@18662 25
yuripourre@18662 26 # Rules to gen a SliTaz package suitable for Tazpkg.
yuripourre@18662 27 genpkg_rules()
yuripourre@18662 28 {
yuripourre@18662 29 cp -a $install/usr $fs
yuripourre@18662 30 }