milis/talimatname/genel/g/glm/talimat

19 lines
561 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: OpenGL Gölgeleme Dili (GLSL) spesifikasyonuna dayalı 3D yazılım için C ++ matematik kütüphanesi.
2017-04-14 19:53:38 +02:00
# URL: http://glm.g-truc.net
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: cmake
2017-04-14 19:53:38 +02:00
2017-10-28 14:10:23 +02:00
isim=glm
surum=0.9.8.4
devir=1
kaynak=(https://github.com/g-truc/glm/archive/$surum.tar.gz)
2017-04-14 19:53:38 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd $isim-$surum
2017-04-14 19:53:38 +02:00
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 {} \;
}