2006-02-23 16:26:10 +01:00
|
|
|
# Description: a free alternative to the OpenGL Utility Toolkit (GLUT) library
|
|
|
|
# URL: http://freeglut.sourceforge.net
|
|
|
|
# Maintainer: sten, nick dot steeves at shaw dot ca
|
|
|
|
# Packager:
|
|
|
|
# Depends on: x11
|
|
|
|
|
|
|
|
name=freeglut
|
|
|
|
version=2.4.0
|
2006-08-03 23:19:53 +02:00
|
|
|
release=2
|
|
|
|
source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz \
|
|
|
|
freeglut-2.4.0.patch)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build() {
|
2006-08-03 23:19:53 +02:00
|
|
|
patch -p0 -i $SRC/freeglut-2.4.0.patch
|
2006-02-23 16:26:10 +01:00
|
|
|
cd $name-$version
|
2006-08-03 23:19:53 +02:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--disable-warnings
|
2006-02-23 16:26:10 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|