compat-32/freeglut-32/Pkgfile

27 lines
623 B
Plaintext
Raw Normal View History

# Description: a free alternative to the OpenGL Utility Toolkit (GLUT) library
2017-01-28 09:33:11 +01:00
# URL: https://freeglut.sourceforge.net
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
2017-01-28 09:33:11 +01:00
# Depends on: glu-32 xorg-libxi-32 freeglut xorg-libxxf86vm-32
name=freeglut-32
2017-01-28 09:33:11 +01:00
version=3.0.0
2013-04-10 11:21:13 +02:00
release=1
source=(https://downloads.sourceforge.net/project/freeglut/freeglut/$version/freeglut-$version.tar.gz)
build() {
2017-01-28 09:33:11 +01: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
}