2006-02-23 15:26:10 +00:00
|
|
|
# Description: Mesa 3D Graphics Library
|
|
|
|
# URL: http://www.mesa3d.org/
|
|
|
|
# Maintainer: sten, nick dot steeves at shaw dot ca
|
|
|
|
# Packager:
|
|
|
|
# Depends on: x11, libdrm, freeglut
|
|
|
|
|
|
|
|
name=mesa3d
|
2006-04-09 07:56:08 +00:00
|
|
|
version=6.4.2
|
2006-04-12 09:20:52 +00:00
|
|
|
release=2
|
2006-02-23 15:26:10 +00:00
|
|
|
source=(http://dl.sourceforge.net/$name/MesaLib-$version.tar.gz \
|
|
|
|
libGL.la)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd Mesa-$version
|
|
|
|
cp configs/linux-dri-x86 configs/current
|
|
|
|
make linux-dri-x86
|
|
|
|
mkdir -p $PKG/usr/{lib,include}
|
|
|
|
bin/installmesa $PKG/usr
|
|
|
|
|
|
|
|
# provided by x11 / freeglut
|
2006-04-09 07:56:08 +00:00
|
|
|
for f in gl.h glext.h glu.h glx.h glxext.h osmesa.h GLwDrawA.h GLwDrawAP.h\
|
2006-04-12 09:20:52 +00:00
|
|
|
GLwMDrawA.h GLwMDrawAP.h; do
|
2006-02-23 15:26:10 +00:00
|
|
|
rm $PKG/usr/include/GL/$f
|
|
|
|
done
|
|
|
|
cp $SRC/libGL.la $PKG/usr/lib
|
|
|
|
}
|