1 # hdw - linux mesa3d package
3 # author: hackbard@hackdaworld.dyndns.org
7 # [D] MesaLib-6.3.tar.bz2 http://mesh.dl.sourceforge.net/sourceforge/mesa3d/
10 # install in /opt/mesa3d
11 prefix="$root/opt/$package"
14 [ "$hdw_arch" = "ia32" ] && mt="linux-x86"
17 for file in `find ./ -name depend`; do
23 if [ -n "$mt" ] ; then
24 echo "building mesa3d for $mt ..."
27 echo "target $hdw_arch not supported by now"
33 rm -rf $prefix ; mkdir -p $prefix/{include,lib}
34 cp -r include/GL $prefix/include
35 cp -pd lib/* $prefix/lib