|
|
@ -28,9 +28,9 @@ download_file()
|
|
|
|
file=$1
|
|
|
|
file=$1
|
|
|
|
|
|
|
|
|
|
|
|
# if we already have the file, don't download it
|
|
|
|
# if we already have the file, don't download it
|
|
|
|
if [ -r downloads/$file ]; then
|
|
|
|
if [ -r downloads/$file ]; then
|
|
|
|
return 0
|
|
|
|
return 0
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
cd downloads
|
|
|
|
cd downloads
|
|
|
|
|
|
|
|
|
|
|
@ -183,7 +183,7 @@ extract_it()
|
|
|
|
cd $mod_name
|
|
|
|
cd $mod_name
|
|
|
|
# check for patches
|
|
|
|
# check for patches
|
|
|
|
if [ -e ../../$mod_name.patch ]; then
|
|
|
|
if [ -e ../../$mod_name.patch ]; then
|
|
|
|
patch -p1 < ../../$mod_name.patch
|
|
|
|
patch -p1 < ../../$mod_name.patch
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
# now configure
|
|
|
|
# now configure
|
|
|
|
echo "executing ./configure --prefix=$PREFIX_DIR $mod_args"
|
|
|
|
echo "executing ./configure --prefix=$PREFIX_DIR $mod_args"
|
|
|
@ -248,9 +248,9 @@ make_it()
|
|
|
|
# special case after installing python make this sym link
|
|
|
|
# special case after installing python make this sym link
|
|
|
|
# so Mesa builds using this python version
|
|
|
|
# so Mesa builds using this python version
|
|
|
|
case "$mod_name" in
|
|
|
|
case "$mod_name" in
|
|
|
|
*Python-2*)
|
|
|
|
*Python-2*)
|
|
|
|
(cd build_dir/$mod_name ; ln -s python $PREFIX_DIR/bin/python2)
|
|
|
|
(cd build_dir/$mod_name ; ln -s python $PREFIX_DIR/bin/python2)
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
|
|
touch cookies/$mod_name.installed
|
|
|
|
touch cookies/$mod_name.installed
|
|
|
@ -379,10 +379,10 @@ strip X11rdp
|
|
|
|
cp X11rdp $X11RDPBASE/bin
|
|
|
|
cp X11rdp $X11RDPBASE/bin
|
|
|
|
|
|
|
|
|
|
|
|
if [ "$2" = "drop" ]; then
|
|
|
|
if [ "$2" = "drop" ]; then
|
|
|
|
echo ""
|
|
|
|
echo ""
|
|
|
|
echo "dropping you in dir, type exit to get out"
|
|
|
|
echo "dropping you in dir, type exit to get out"
|
|
|
|
bash
|
|
|
|
bash
|
|
|
|
exit 1
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
echo "All done"
|
|
|
|
echo "All done"
|
|
|
|