diff options
author | sibel <lesibel@free.fr> | 2009-11-23 14:57:05 +0100 |
---|---|---|
committer | sibel <lesibel@free.fr> | 2009-11-23 14:57:05 +0100 |
commit | ec3668450f4999fdb4294435dc5df4f41455666e (patch) | |
tree | bce303a0ac884258cbd3538ffd43644d2da5b8da /extra/freeglut/Pkgfile | |
parent | 824e7a0eb8a036d9efefc8816a63b23bd075942b (diff) | |
download | nutyx-extra-ec3668450f4999fdb4294435dc5df4f41455666e.tar.gz nutyx-extra-ec3668450f4999fdb4294435dc5df4f41455666e.tar.bz2 nutyx-extra-ec3668450f4999fdb4294435dc5df4f41455666e.tar.xz nutyx-extra-ec3668450f4999fdb4294435dc5df4f41455666e.zip |
Ajout de freeglut#2.4.0-1
Diffstat (limited to 'extra/freeglut/Pkgfile')
-rwxr-xr-x | extra/freeglut/Pkgfile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/extra/freeglut/Pkgfile b/extra/freeglut/Pkgfile new file mode 100755 index 000000000..233dc54e7 --- /dev/null +++ b/extra/freeglut/Pkgfile @@ -0,0 +1,21 @@ +# Description: Fournit des fonctionalités a de petit programmes en OpenGL +# URL: http://freeglut.sourceforge.net/ +# Maintainer: NuTyX packager team +# Packager: lesibel at free dot fr +# Depends on: ibxxf86vm, mesa + +name=freeglut +version=2.4.0 +release=1 +source=(http://downloads.sourceforge.net/freeglut//$name-$version.tar.gz \ + glut-cursor-inherit.patch) +build() { + cd $name-$version + patch -Np1 -i ../glut-cursor-inherit.patch + sed -i 's/-Werror//' configure + ./configure --prefix=/usr + make all + make DESTDIR=$PKG install + install -m755 -d $PKG/usr/share/licenses/$name + install -m644 COPYING $PKG/usr/share/licenses/$name/ +} |