summaryrefslogtreecommitdiff
path: root/repo/system/glew.xibuild
blob: 7ad27fef951fa3d7621ad0ac5ba2bec220f9f70b (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 PREFIX=/usr
}

package () {
    mkdir -p $PKG_DEST/usr/lib64
    make PREFIX=/usr DESTDIR=$PKG_DEST install
}