milis/talimatname/genel/glew/talimat

25 lines
636 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-libxi xorg-libxmu
name=glew
version=2.0.0
release=1
source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tgz)
build() {
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
}