28 # doxygen libtool python |
28 # doxygen libtool python |
29 # dpkg libupnp |
29 # dpkg libupnp |
30 # expat libxml |
30 # expat libxml |
31 |
31 |
32 # Variables |
32 # Variables |
33 #ARCFIX=amd64-suse12.1 |
33 #ARCFIX=amd64-suse12.2 |
34 #ARCFIX=amd64-solaris11 |
34 #ARCFIX=amd64-solaris11 |
35 ARCFIX=$1 |
35 ARCFIX=$1 |
36 PREFIX=$2 |
36 PREFIX=$2 |
37 SUDBIN=$3 |
37 SUDBIN=$3 |
38 |
38 |
39 # Sanity check |
39 # Sanity check |
40 if [ ! $ARCFIX ]; then |
40 if [ ! $ARCFIX ]; then |
41 echo 'Error: Arch spec "amd64-suse12.1" or similar needed as first argument.' |
41 echo 'Error: Arch spec "amd64-suse12.2" or similar needed as first argument.' |
42 exit 1 |
42 exit 1 |
43 fi |
43 fi |
44 if [ ! $PREFIX ]; then |
44 if [ ! $PREFIX ]; then |
45 PREFIX=opdv |
45 PREFIX=opdv |
46 fi |
46 fi |
48 SUDBIN=/usr/bin/sudo |
48 SUDBIN=/usr/bin/sudo |
49 fi |
49 fi |
50 |
50 |
51 # Usage intro |
51 # Usage intro |
52 echo 'This is a OpenPKG installation script for instance /opdv' |
52 echo 'This is a OpenPKG installation script for instance /opdv' |
53 echo 'Please adjust sudo(1) accordingly, and pass "amd64-suse12.1"' |
53 echo 'Please adjust sudo(1) accordingly, and pass "amd64-suse12.2"' |
54 echo '...or whatever other string as the first argument. The script' |
54 echo '...or whatever other string as the first argument. The script' |
55 echo 'will install the Europalab 20120800 basis stack.' |
55 echo 'will install the Europalab 20120800 basis stack.' |
56 echo '' |
56 echo '' |
57 echo 'Quick tips: /pfx/bin/openpkg rpm was converted to libexec/openpkg/rpm.' |
57 echo 'Quick tips: /pfx/bin/openpkg rpm was converted to libexec/openpkg/rpm.' |
58 echo " Call this TMPDIR=/tmp/${PREFIX}auto $0 to parallelize." |
58 echo " Call this TMPDIR=/tmp/${PREFIX}auto $0 to parallelize." |