summaryrefslogtreecommitdiff
path: root/repo/glew/glew.xibuild
blob: fcace5f7df58b9ad3fbeb7ea4cfa2dc00da5575f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

NAME="glew"
DESC="A cross-platform C/C++ extension loading library"

MAKEDEPS="make "
DEPS="libxmu libxi mesa glu"

PKG_VER=2.2.0
SOURCE="https://downloads.sourceforge.net/glew/glew-$PKG_VER.tgz"
ADDITIONAL="glew.patch "

build () {
    make GLEW_DEST=$PKG_DEST
}

package () {
    make GLEW_DEST=$PKG_DEST/usr install
    mv $PKG_DEST/usr/lib64/* $PKG_DEST/usr/lib/
}