]> hackdaworld.org Git - hdw-linux/hdw-linux.git/blob - packages/multimedia/mesa3d/mesa3d
packages updates = helper improvements
[hdw-linux/hdw-linux.git] / packages / multimedia / mesa3d / mesa3d
1 # hdw - linux mesa3d package
2 #
3 # author: hackbard@hackdaworld.dyndns.org
4 #
5 # [V] 6.3
6 # [S] 3-6
7 # [D] MesaLib-6.3.tar.bz2 http://mesh.dl.sourceforge.net/sourceforge/mesa3d/
8
9 srcdir=Mesa-$ver
10 # install in /opt/mesa3d
11 prefix="$root/opt/$package"
12 # target
13 mt=""
14 [ "$hdw_arch" = "ia32" ] && mt="linux-x86"
15
16 build_main()    {
17         if [ -n "$mt" ] ; then
18                 echo "building mesa3d for $mt ..."
19                 make $mt
20         else
21                 echo "target $hdw_rach not supported by now"
22                 exit 1
23         fi
24                 }
25
26 post_install()  {
27         rm -rf $prefix ; mkdir -p $prefix/{include,lib}
28         cp -r include/GL $prefix/include
29         cp -pd lib/* $prefix/lib
30                 }