milis/talimatname/genel/glew/talimat

22 lines
564 B
Plaintext

# Description: OpenGL Extension Wrangler Library
# URL: http://glew.sourceforge.net/
# Packager: http://glew.sourceforge.net/
# 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
}