20 lines
540 B
Plaintext
20 lines
540 B
Plaintext
# Description: OpenGL Extension Wrangler Library
|
|
# URL: http://glew.sourceforge.net/
|
|
# Packager: milisarge
|
|
# Depends on: xorg-mesa xorg-libxmu xorg-libxi
|
|
|
|
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
|
|
|
|
make
|
|
make GLEW_DEST=$PKG/usr LIBDIR=$PKG/usr/lib BINDIR=$PKG/usr/bin install install.bin install.lib.mx
|
|
}
|