milis/talimatname/genel/g/glfw/talimat

18 lines
429 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: çoğulortam için OpenGL, OpenGL ES, Vulkan kütüphanesi
# URL: http://www.glfw.org
# Paketçi: milisarge
# Gerekler: xorg cmake
name=glfw
version=3.2.1
release=1
source=(https://github.com/$name/$name/archive/$version.tar.gz)
derle() {
cd $name-$version
mkdir build; cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=on
make
make DESTDIR=$PKG install
}