annotate install-dependencies.sh @ 948:c021d9a378d6

Script install dependencies.
author Tom Gottfried <tom@intevation.de>
date Thu, 29 Oct 2015 18:11:21 +0100
parents
children 62f0b084fe1f
rev   line source
948
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
1 #!/bin/bash -e
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
2
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
3 CUR_DIR=`pwd`
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
4 SCRIPT_DIR=`dirname $0`
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
5
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
6 cd $SCRIPT_DIR
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
7 wget https://cdn.sencha.com/ext/gpl/ext-4.2.1-gpl.zip
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
8 unzip ext-4.2.1-gpl.zip
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
9 ln -s ext-4.2.1.883 extjs
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
10
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
11 mkdir -p resources/lib/ext
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
12 cd resources/lib
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
13
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
14 wget https://github.com/eligrey/FileSaver.js/archive/master.zip \
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
15 -O FileSaver-js.zip
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
16 unzip FileSaver-js.zip
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
17 ln -s FileSaver.js-master FileSaver
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
18
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
19 wget https://github.com/eligrey/Blob.js/archive/master.zip \
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
20 -O Blob-js.zip
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
21 unzip Blob-js.zip
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
22 ln -s Blob.js-master Blob
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
23
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
24 wget https://github.com/openlayers/openlayers/archive/release-2.13.1.zip \
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
25 -O OpenLayers-2-13-1.zip
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
26 unzip OpenLayers-2-13-1.zip
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
27 ln -s openlayers-release-2.13.1/build OpenLayers
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
28 cd OpenLayers
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
29 python build.py
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
30
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
31 cd ../ext
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
32 wget https://github.com/elmasse/Ext.i18n.Bundle/archive/v0.3.3.zip \
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
33 -O Ext-i18n-Bundle-v0-3-3.zip
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
34 unzip Ext-i18n-Bundle-v0-3-3.zip
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
35 ln -s Ext.i18n.Bundle-0.3.3/i18n i18n
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
36
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
37 wget https://github.com/ivan-novakov/extjs-upload-widget/archive/1.1.1.zip \
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
38 -O Ext-ux-Upload-1-1-1.zip
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
39 unzip Ext-ux-Upload-1-1-1.zip
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
40 ln -s extjs-upload-widget-1.1.1/lib/upload upload
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
41
c021d9a378d6 Script install dependencies.
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
42 cd $CUR_DIR

http://lada.wald.intevation.org