2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: OpenGL Extension Wrangler Library (GLEW), çapraz platform açık kaynak C / C ++ uzantısı yükleme kitaplığıdır.
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://glew.sourceforge.net/
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: xorg-mesa xorg-libxi xorg-libxmu
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
|
|
name=glew
|
2017-04-09 19:12:37 +02:00
|
|
|
|
version=2.0.0
|
2016-02-24 01:27:23 +01:00
|
|
|
|
release=1
|
2017-04-09 19:12:37 +02:00
|
|
|
|
source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tgz)
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2016-02-24 01:27:23 +01:00
|
|
|
|
cd $name-$version
|
|
|
|
|
|
2017-04-09 19:12:37 +02:00
|
|
|
|
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
|
2016-02-24 01:27:23 +01:00
|
|
|
|
}
|