2016-02-24 01:27:23 +01:00
|
|
|
# Description: Provides functionality for small OpenGL programs
|
|
|
|
# URL: http://freeglut.sourceforge.net/
|
2017-01-31 01:37:09 +01:00
|
|
|
# Packager: milisarge
|
2016-02-24 01:27:23 +01:00
|
|
|
# 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
|
2017-01-31 01:37:09 +01:00
|
|
|
mkdir build
|
|
|
|
cd build
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DFREEGLUT_BUILD_DEMOS=OFF \
|
|
|
|
-DFREEGLUT_BUILD_STATIC_LIBS=OFF \
|
|
|
|
..
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|