miscel/stackopdv-201208.sh

changeset 681
d3d754f085eb
parent 675
43d642154330
child 697
86fbe197f71a
     1.1 --- a/miscel/stackopdv-201208.sh	Thu Sep 13 23:24:16 2012 +0200
     1.2 +++ b/miscel/stackopdv-201208.sh	Fri Sep 14 20:39:02 2012 +0200
     1.3 @@ -30,7 +30,7 @@
     1.4  # expat              libxml
     1.5  
     1.6  # Variables
     1.7 -#ARCFIX=amd64-suse12.1
     1.8 +#ARCFIX=amd64-suse12.2
     1.9  #ARCFIX=amd64-solaris11
    1.10  ARCFIX=$1
    1.11  PREFIX=$2
    1.12 @@ -38,7 +38,7 @@
    1.13  
    1.14  # Sanity check
    1.15  if [ ! $ARCFIX ]; then
    1.16 -    echo 'Error: Arch spec "amd64-suse12.1" or similar needed as first argument.'
    1.17 +    echo 'Error: Arch spec "amd64-suse12.2" or similar needed as first argument.'
    1.18      exit 1
    1.19  fi
    1.20  if [ ! $PREFIX ]; then
    1.21 @@ -50,7 +50,7 @@
    1.22  
    1.23  # Usage intro
    1.24  echo 'This is a OpenPKG installation script for instance /opdv'
    1.25 -echo 'Please adjust sudo(1) accordingly, and pass "amd64-suse12.1"'
    1.26 +echo 'Please adjust sudo(1) accordingly, and pass "amd64-suse12.2"'
    1.27  echo '...or whatever other string as the first argument. The script'
    1.28  echo 'will install the Europalab 20120800 basis stack.'
    1.29  echo ''
    1.30 @@ -110,7 +110,7 @@
    1.31  if test ! -f ${HOME}/opwrk/pkg/src/gcc-4.7.1-20120800.src.rpm; then
    1.32      /${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 $?
    1.33  fi
    1.34 -##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 $?
    1.35 +#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 $?
    1.36  ${SUDBIN} /${PREFIX}/libexec/openpkg/rpm -Uvh ${HOME}/opwrk/pkg/bin/gcc-4.7.1-20120800.${ARCFIX}-${PREFIX}.rpm || exit $?
    1.37  echo :::: http://download.openpkg.org/packages/current/source/CORE/gcc-4.7.1-20120800.src.rpm = $? ::::
    1.38  echo :::: http://download.openpkg.org/packages/current/source/CORE/bzip2-1.0.6-20100920.src.rpm ::::

mercurial