forked from ports/compat-32
27 lines
596 B
Plaintext
27 lines
596 B
Plaintext
# Description: a free alternative to the OpenGL Utility Toolkit (GLUT) library
|
|
# URL: https://freeglut.sourceforge.net
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: glu-32 xorg-libxi-32 freeglut xorg-libxxf86vm-32
|
|
|
|
name=freeglut-32
|
|
version=3.0.0
|
|
release=1
|
|
source=(https://download.sourceforge.net/freeglut/freeglut-$version.tar.gz)
|
|
|
|
build() {
|
|
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
|
|
}
|