milis/talimatname/genel/freeglut/talimat

24 lines
552 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.

# Description: Küçük OpenGL programları için işlevsellik sağlar
# URL: http://freeglut.sourceforge.net/
# Packager: milisarge
# Depends on: cmake xorg-mesa xorg-glu xorg-libxi
name=freeglut
version=3.0.0
release=1
source=(http://downloads.sourceforge.net/$name/$name-$version.tar.gz)
build() {
cd $name-$version
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
}