Index: third_party/xvfb/building/fetch-source |
=================================================================== |
--- third_party/xvfb/building/fetch-source (revision 0) |
+++ third_party/xvfb/building/fetch-source (working copy) |
@@ -4,10 +4,9 @@ |
# found in the LICENSE file. |
# This is here to record where we fetched the source packages. |
- |
function getxfromy() { |
if [ \! -f "$1" ] ; then |
- wget "$2"/"$1" |
+ wget -O "$1" "$2"/"${3-${1}}" |
fi |
} |
@@ -33,6 +32,8 @@ |
http://xorg.freedesktop.org/releases/individual/xserver |
getxfromy libdrm-2.4.26.tar.gz http://dri.freedesktop.org/libdrm |
-getxfromy MesaGLUT-7.11.tar.gz ftp://ftp.freedesktop.org/pub/mesa/7.11 |
-getxfromy MesaLib-7.11.tar.gz ftp://ftp.freedesktop.org/pub/mesa/7.11 |
+ |
getxfromy libXmu-1.0.5.tar.gz http://ftp.x.org/pub/individual/lib |
+ |
+mesa=${MESA_VER-8.0.1} |
+getxfromy MesaLib-${mesa}.tar.gz ftp://ftp.freedesktop.org/pub/mesa/${mesa} |