summaryrefslogtreecommitdiffstats
path: root/extra/glew/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/glew/Pkgfile')
-rw-r--r--extra/glew/Pkgfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/extra/glew/Pkgfile b/extra/glew/Pkgfile
new file mode 100644
index 000000000..d127ff1fe
--- /dev/null
+++ b/extra/glew/Pkgfile
@@ -0,0 +1,23 @@
+# Description: OpenGL Extension Wrangler Library
+# Maintainer: Diederick de Vries <diederick at diederickdevries dot net>
+# URL: http://glew.sourceforge.net/
+# depends:
+
+name=glew
+version=1.5.1
+release=1
+source=(http://dl.sourceforge.net/sourceforge/glew/$name-$version-src.tgz\
+ config.diff )
+
+build() {
+ #Application du patch
+ cd $name/config
+ mv $SRC/config.diff .
+ patch < config.diff
+ chmod +x config.guess
+
+ cd $SRC/$name
+ make
+ make GLEW_DEST=$PKG/usr install
+}
+