milis/talimatname/genel/glew/talimat

20 lines
626 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: OpenGL Extension Wrangler Library (GLEW), çapraz platform açık kaynak C / C ++ uzantısı yükleme kitaplığıdır.
# 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
}