milis/talimatname/genel/g/glm/talimat

19 lines
561 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 Gölgeleme Dili (GLSL) spesifikasyonuna dayalı 3D yazılım için C ++ matematik kütüphanesi.
# URL: http://glm.g-truc.net
# Paketçi: milisarge
# Gerekler: cmake
isim=glm
surum=0.9.8.4
devir=1
kaynak=(https://github.com/g-truc/glm/archive/$surum.tar.gz)
derle() {
cd $isim-$surum
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_CXX_COMPILER_ID=GNU -DCMAKE_CXX_FLAGS=" -std=c++11"
make DESTDIR=$PKG install
rm -rf $PKG/usr/lib64/cmake/glm/glmConfig.cmake
find $PKG -type f -exec chmod 644 {} \;
find $PKG -type d -exec chmod 755 {} \;
}