milis/talimatname/genel/g/glew/talimat

25 lines
629 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.

# Tanım: OpenGL Extension Wrangler Library (GLEW), çapraz platform açık kaynak C / C ++ uzantısı yükleme kitaplığıdır.
# URL: http://glew.sourceforge.net/
# Paketçi: milisarge
# Gerekler: xorg-mesa xorg-libxi xorg-libxmu
name=glew
version=2.0.0
release=1
source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tgz)
derle() {
cd $name-$version
sed -i -e "s|lib64|lib|" config/Makefile.linux
sed -i -e '/^.PHONY: .*\.pc$/d' -i Makefile
make \
CC="${CC:-gcc}" \
LD="${CC:-gcc}" \
CFLAGS.EXTRA="$CFLAGS -fPIC" \
LDFLAGS.EXTRA="$LDFLAGS"
make GLEW_DEST="$PKG/usr" install
}