2012-06-23 20:21:35 +10:00
|
|
|
# Description: a free alternative to the OpenGL Utility Toolkit (GLUT) library.
|
|
|
|
# URL: http://freeglut.sourceforge.net/
|
2014-11-10 23:25:50 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2012-06-23 20:21:35 +10:00
|
|
|
# Packager: Tilman Sauerbeck, tilman at crux dot nu
|
2012-10-12 10:54:05 +11:00
|
|
|
# Depends on: glu xorg-libxi
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=freeglut
|
2017-01-26 19:29:17 +11:00
|
|
|
version=3.0.0
|
2013-04-10 18:46:35 +10:00
|
|
|
release=1
|
2010-09-28 12:37:23 +02:00
|
|
|
source=(http://download.sourceforge.net/$name/$name-$version.tar.gz)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build() {
|
2012-06-23 20:21:35 +10:00
|
|
|
cd $name-$version
|
|
|
|
|
2017-01-26 19:29:17 +11:00
|
|
|
install -d build
|
|
|
|
cd build
|
2012-10-12 10:54:05 +11:00
|
|
|
|
2017-01-26 19:29:17 +11:00
|
|
|
cmake .. \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release
|
2012-06-23 20:21:35 +10:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|