2012-11-21 11:12:43 -06:00
|
|
|
# Description: a free alternative to the OpenGL Utility Toolkit (GLUT) library
|
2017-01-28 19:33:11 +11:00
|
|
|
# URL: https://freeglut.sourceforge.net
|
2013-02-01 19:09:37 +11:00
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
2019-08-27 21:48:19 +10:00
|
|
|
# Depends on: freeglut glu-32 xorg-libxi-32
|
2012-11-21 11:12:43 -06:00
|
|
|
|
|
|
|
name=freeglut-32
|
2017-01-28 19:33:11 +11:00
|
|
|
version=3.0.0
|
2013-04-10 19:21:13 +10:00
|
|
|
release=1
|
2019-04-14 21:25:40 +10:00
|
|
|
source=(https://downloads.sourceforge.net/project/freeglut/freeglut/$version/freeglut-$version.tar.gz)
|
2012-11-21 11:12:43 -06:00
|
|
|
|
|
|
|
build() {
|
2017-01-28 19:33:11 +11:00
|
|
|
cd freeglut-$version
|
|
|
|
|
|
|
|
install -d build
|
|
|
|
cd build
|
|
|
|
|
|
|
|
cmake .. \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib32 \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
rm -r $PKG/usr/include
|
2012-11-21 11:12:43 -06:00
|
|
|
}
|