milis/talimatname/genel/f/freeglut/talimat

25 lines
564 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: Küçük OpenGL programları için işlevsellik sağlar
# URL: http://freeglut.sourceforge.net/
# Paketçi: milisarge
# Gerekler: cmake xorg-mesa xorg-glu xorg-libxi
# Grup: sistem kütüphane
isim=freeglut
surum=3.0.0
devir=1
kaynak=(http://downloads.sourceforge.net/$isim/$isim-$surum.tar.gz)
derle() {
cd $isim-$surum
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DFREEGLUT_BUILD_DEMOS=OFF \
-DFREEGLUT_BUILD_STATIC_LIBS=OFF \
..
make
make DESTDIR=$PKG install
}