milis/talimatname/genel/g/glew/talimat

25 lines
619 B
Plaintext
Raw Normal View History

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
2017-10-28 14:10:23 +02:00
isim=glew
surum=2.0.0
devir=1
kaynak=(http://downloads.sourceforge.net/project/$isim/$isim/$surum/$isim-$surum.tgz)
2016-02-24 01:27:23 +01:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd $isim-$surum
2016-02-24 01:27:23 +01:00
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
}