summaryrefslogtreecommitdiff
path: root/repo/system/glew
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/glew')
-rw-r--r--repo/system/glew/glew.xibuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/repo/system/glew/glew.xibuild b/repo/system/glew/glew.xibuild
index 7ad27fe..fcace5f 100644
--- a/repo/system/glew/glew.xibuild
+++ b/repo/system/glew/glew.xibuild
@@ -11,10 +11,10 @@ SOURCE="https://downloads.sourceforge.net/glew/glew-$PKG_VER.tgz"
ADDITIONAL="glew.patch "
build () {
- make PREFIX=/usr
+ make GLEW_DEST=$PKG_DEST
}
package () {
- mkdir -p $PKG_DEST/usr/lib64
- make PREFIX=/usr DESTDIR=$PKG_DEST install
+ make GLEW_DEST=$PKG_DEST/usr install
+ mv $PKG_DEST/usr/lib64/* $PKG_DEST/usr/lib/
}