root/sources/tango.diff
| Revision 568, 1.5 kB (checked in by Gregor, 1 year ago) |
|---|
-
dsss.conf
old new 1 # This dsss.conf is used exclusively for Tango net-installs. 2 name = tango 3 4 [+tangocore] 5 version (Posix) { 6 version (GNU) { 7 prebuild=bash tango.sh gdc 8 } else { 9 prebuild=bash tango.sh dmd 10 } 11 } else version (Windows) { 12 prebuild=tango.bat 13 } 14 15 [trunk] 16 type=subdir -
tango.bat
old new 1 @echo off 2 cls 3 echo It is currently not possible to install tango on Windows via DSSS. 4 exit 1 -
tango.sh
old new 1 #!/bin/bash 2 if [ ! "$1" ] ; then exit ; fi 3 4 clear 5 echo "You have chosen to install Tango via DSSS. If you follow through, you" 6 echo "will no longer be able to build Phobos-based software. Uninstalling" 7 echo "tango via DSSS WILL NOT uninstall the tango core, so this operation" 8 echo "is difficult to undo. Are you sure you want to do this?" 9 read YN 10 if [ "`echo $YN | grep '^[nN]'`" ] 11 then 12 exit 1 13 fi 14 15 # Install the tango core ... 16 cd trunk/lib || exit 1 17 ./build-$1.sh || exit 1 18 ./install-$1.sh --uninstall 19 ./install-$1.sh || exit 1 20 21 # Then update our rebuild profile to use tango 22 echo 'profile='$1'-posix-tango' > $ETC_PREFIX/rebuild/default 2> /dev/null
Note: See TracBrowser for help on using the browser.
