diff options
author | James Mills <prologic@shortcircuit.net.au> | 2006-12-18 19:06:13 +1000 |
---|---|---|
committer | James Mills <prologic@shortcircuit.net.au> | 2006-12-18 19:06:13 +1000 |
commit | 37b59af2b0810988be417aedfeaf2046e6f197d2 (patch) | |
tree | 80a3beeeda0bab98ef5e338ca8c2c1a23c33bf1c /pyopengl/Pkgfile | |
parent | 9ce09c496a49f30884e51928e2038ade20005e77 (diff) | |
download | contrib-37b59af2b0810988be417aedfeaf2046e6f197d2.tar.gz contrib-37b59af2b0810988be417aedfeaf2046e6f197d2.tar.xz |
pyopengl: New Port
Diffstat (limited to 'pyopengl/Pkgfile')
-rw-r--r-- | pyopengl/Pkgfile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pyopengl/Pkgfile b/pyopengl/Pkgfile new file mode 100644 index 000000000..e11ec4b08 --- /dev/null +++ b/pyopengl/Pkgfile @@ -0,0 +1,21 @@ +# Description: Cross platform Python binding to OpenGL +# URL: http://pyopengl.sourceforge.net/ +# Maintainer: James Mills prologic at shortcircuit dot net dot au +# Packager: Younes Hafri ycrux at club-internet dot fr +# +# Depends on: swig, python + +name=pyopengl +version=3.0.0a5 +release=1 +source=(http://dl.sourceforge.net/sourceforge/$name/PyOpenGL-$version.tar.gz) + +build () { + mkdir -p $PKG/usr + cd PyOpenGL-$version + + python setup.py install --root=$PKG + rm -rf $PKG/usr/lib/python/OpenGL/Demo $PKG/usr/lib/python/OpenGL/doc + + chown -R root:root $PKG +} |