forked from ports/compat-32
22 lines
630 B
Plaintext
22 lines
630 B
Plaintext
# Description: a free alternative to the OpenGL Utility Toolkit (GLUT) library
|
|
# URL: http://freeglut.sourceforge.net
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: glu-32 xorg-libxi-32 freeglut
|
|
|
|
name=freeglut-32
|
|
version=2.8.1
|
|
release=1
|
|
source=(http://download.sourceforge.net/freeglut/freeglut-$version.tar.gz)
|
|
|
|
build() {
|
|
cd freeglut-$version
|
|
sed -i -e '/^SUBDIRS =/s/progs //' Makefile.in
|
|
./configure --prefix=/usr \
|
|
--libdir=/usr/lib32 \
|
|
--disable-warnings \
|
|
--disable-dependency-tracking
|
|
make
|
|
make DESTDIR=$PKG install
|
|
rm -rf $PKG/usr/include
|
|
}
|