2017-01-31 01:37:09 +01:00
|
|
|
# Description: OpenGL Extension Wrangler Library
|
2016-02-24 01:27:23 +01:00
|
|
|
# URL: http://glew.sourceforge.net/
|
2017-01-31 01:37:09 +01:00
|
|
|
# Packager: milisarge
|
|
|
|
# Depends on: xorg-mesa xorg-libxmu xorg-libxi
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
name=glew
|
|
|
|
version=1.13.0
|
|
|
|
release=1
|
|
|
|
source=(http://downloads.sourceforge.net/project/glew/glew/$version/$name-$version.tgz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
sed -i 's|lib64|lib|' config/Makefile.linux
|
|
|
|
sed -i '/^.PHONY: .*\.pc$/d' Makefile
|
|
|
|
install -dm755 $PKG/usr/lib/pkgconfig
|
|
|
|
|
2017-01-31 01:37:09 +01:00
|
|
|
make
|
2016-02-24 01:27:23 +01:00
|
|
|
make GLEW_DEST=$PKG/usr LIBDIR=$PKG/usr/lib BINDIR=$PKG/usr/bin install install.bin install.lib.mx
|
|
|
|
}
|