summaryrefslogtreecommitdiffstats
path: root/extra/freeglut/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-11-23 22:04:20 +0100
committertnut <thierryn1 at hispeed dot ch>2009-11-23 22:04:20 +0100
commit69e089ddc125ffc018f8499d0bfbf03049f5bf3b (patch)
tree031834021ad771f69e1d2d553065dc4f538ffe84 /extra/freeglut/Pkgfile
parent91311b0817e2e0b1a6dabb3743b19a391858cafc (diff)
parentec3668450f4999fdb4294435dc5df4f41455666e (diff)
downloadnutyx-extra-69e089ddc125ffc018f8499d0bfbf03049f5bf3b.tar.gz
nutyx-extra-69e089ddc125ffc018f8499d0bfbf03049f5bf3b.tar.bz2
nutyx-extra-69e089ddc125ffc018f8499d0bfbf03049f5bf3b.tar.xz
nutyx-extra-69e089ddc125ffc018f8499d0bfbf03049f5bf3b.zip
Merge remote branch 'lesibel/master'
Diffstat (limited to 'extra/freeglut/Pkgfile')
-rwxr-xr-xextra/freeglut/Pkgfile21
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/
+}