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
|
2013-04-10 18:46:35 +10:00
|
|
|
version=2.8.1
|
|
|
|
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
|
|
|
|
|
2012-10-12 10:54:05 +11:00
|
|
|
sed -i -e 's/^SUBDIRS = src include progs doc/SUBDIRS = src include doc/' Makefile.in
|
|
|
|
|
2012-06-23 20:21:35 +10:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2012-10-12 10:54:05 +11:00
|
|
|
--disable-warnings \
|
|
|
|
--disable-dependency-tracking
|
2012-06-23 20:21:35 +10:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|