milis/talimatname/genel/g/glfw/talimat

18 lines
421 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: çoğulortam için OpenGL, OpenGL ES, Vulkan kütüphanesi
2017-06-19 08:15:20 +02:00
# URL: http://www.glfw.org
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: xorg cmake
2017-06-19 08:15:20 +02:00
2017-10-28 14:10:23 +02:00
isim=glfw
surum=3.2.1
devir=1
kaynak=(https://github.com/$isim/$isim/archive/$surum.tar.gz)
2017-06-19 08:15:20 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd $isim-$surum
2017-06-19 08:15:20 +02:00
mkdir build; cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=on
make
make DESTDIR=$PKG install
}