diff -r d27cad483271 -r d3d754f085eb miscel/stackopdv-201208.sh --- a/miscel/stackopdv-201208.sh Thu Sep 13 23:24:16 2012 +0200 +++ b/miscel/stackopdv-201208.sh Fri Sep 14 20:39:02 2012 +0200 @@ -30,7 +30,7 @@ # expat libxml # Variables -#ARCFIX=amd64-suse12.1 +#ARCFIX=amd64-suse12.2 #ARCFIX=amd64-solaris11 ARCFIX=$1 PREFIX=$2 @@ -38,7 +38,7 @@ # Sanity check if [ ! $ARCFIX ]; then - echo 'Error: Arch spec "amd64-suse12.1" or similar needed as first argument.' + echo 'Error: Arch spec "amd64-suse12.2" or similar needed as first argument.' exit 1 fi if [ ! $PREFIX ]; then @@ -50,7 +50,7 @@ # Usage intro echo 'This is a OpenPKG installation script for instance /opdv' -echo 'Please adjust sudo(1) accordingly, and pass "amd64-suse12.1"' +echo 'Please adjust sudo(1) accordingly, and pass "amd64-suse12.2"' echo '...or whatever other string as the first argument. The script' echo 'will install the Europalab 20120800 basis stack.' echo '' @@ -110,7 +110,7 @@ if test ! -f ${HOME}/opwrk/pkg/src/gcc-4.7.1-20120800.src.rpm; then /${PREFIX}/bin/openpkg curl -# -o ${HOME}/opwrk/pkg/src/gcc-4.7.1-20120800.src.rpm http://download.openpkg.org/packages/current/source/CORE/gcc-4.7.1-20120800.src.rpm || exit $? fi -##time /${PREFIX}/libexec/openpkg/rpm --define 'use_cc /opkg/bin/cc' --define 'with_objc yes' --define 'with_optimize yes' --define 'with_profile yes' --define 'with_threads yes' --rebuild ${HOME}/opwrk/pkg/src/gcc-4.7.1-20120800.src.rpm || exit $? +#time /${PREFIX}/libexec/openpkg/rpm --define 'use_cc /opkg/bin/cc' --define 'with_objc yes' --define 'with_optimize yes' --define 'with_profile yes' --define 'with_threads yes' --rebuild ${HOME}/opwrk/pkg/src/gcc-4.7.1-20120800.src.rpm || exit $? ${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/gcc-4.7.1-20120800.${ARCFIX}-${PREFIX}.rpm || exit $? echo :::: http://download.openpkg.org/packages/current/source/CORE/gcc-4.7.1-20120800.src.rpm = $? :::: echo :::: http://download.openpkg.org/packages/current/source/CORE/bzip2-1.0.6-20100920.src.rpm ::::