comparison install-dependencies.sh @ 1096:6f4e76b9388a

Allow reinstalling dependencies and adapt to changed OL-archive content.
author Tom Gottfried <tom@intevation.de>
date Tue, 10 May 2016 15:32:56 +0200
parents 0ecbcafdb32f
children 7c0bc1146796
comparison
equal deleted inserted replaced
1095:14c130767e44 1096:6f4e76b9388a
4 SCRIPT_DIR=`dirname $0` 4 SCRIPT_DIR=`dirname $0`
5 5
6 cd $SCRIPT_DIR 6 cd $SCRIPT_DIR
7 curl -O https://cdn.sencha.com/ext/gpl/ext-4.2.1-gpl.zip 7 curl -O https://cdn.sencha.com/ext/gpl/ext-4.2.1-gpl.zip
8 unzip -n ext-4.2.1-gpl.zip 8 unzip -n ext-4.2.1-gpl.zip
9 ln -s ext-4.2.1.883 extjs 9 ln -sf ext-4.2.1.883 extjs
10 10
11 mkdir -p resources/lib/ext 11 mkdir -p resources/lib/ext
12 cd resources/lib 12 cd resources/lib
13 13
14 curl -L https://github.com/eligrey/FileSaver.js/archive/master.zip \ 14 curl -L https://github.com/eligrey/FileSaver.js/archive/master.zip \
15 -o FileSaver-js.zip 15 -o FileSaver-js.zip
16 unzip -n FileSaver-js.zip 16 unzip -n FileSaver-js.zip
17 ln -s FileSaver.js-master FileSaver 17 ln -sf FileSaver.js-master FileSaver
18 18
19 curl -L https://github.com/eligrey/Blob.js/archive/master.zip \ 19 curl -L https://github.com/eligrey/Blob.js/archive/master.zip \
20 -o Blob-js.zip 20 -o Blob-js.zip
21 unzip -n Blob-js.zip 21 unzip -n Blob-js.zip
22 ln -s Blob.js-master Blob 22 ln -sf Blob.js-master Blob
23 23
24 curl -L https://github.com/openlayers/openlayers/archive/release-2.13.1.zip \ 24 curl -L https://github.com/openlayers/openlayers/archive/release-2.13.1.zip \
25 -o OpenLayers-2-13-1.zip 25 -o OpenLayers-2-13-1.zip
26 unzip -n OpenLayers-2-13-1.zip 26 unzip -n OpenLayers-2-13-1.zip
27 ln -s openlayers-release-2.13.1/build OpenLayers 27 ln -sf ol2-release-2.13.1/build OpenLayers
28 cd OpenLayers 28 cd OpenLayers
29 python build.py 29 python build.py
30 30
31 cd ../ext 31 cd ../ext
32 curl -L https://github.com/elmasse/Ext.i18n.Bundle/archive/v0.3.3.zip \ 32 curl -L https://github.com/elmasse/Ext.i18n.Bundle/archive/v0.3.3.zip \
33 -o Ext-i18n-Bundle-v0-3-3.zip 33 -o Ext-i18n-Bundle-v0-3-3.zip
34 unzip -n Ext-i18n-Bundle-v0-3-3.zip 34 unzip -n Ext-i18n-Bundle-v0-3-3.zip
35 ln -s Ext.i18n.Bundle-0.3.3/i18n i18n 35 ln -sf Ext.i18n.Bundle-0.3.3/i18n i18n
36 36
37 curl -L https://github.com/ivan-novakov/extjs-upload-widget/archive/1.1.1.zip \ 37 curl -L https://github.com/ivan-novakov/extjs-upload-widget/archive/1.1.1.zip \
38 -o Ext-ux-Upload-1-1-1.zip 38 -o Ext-ux-Upload-1-1-1.zip
39 unzip -n Ext-ux-Upload-1-1-1.zip 39 unzip -n Ext-ux-Upload-1-1-1.zip
40 ln -s extjs-upload-widget-1.1.1/lib/upload upload 40 ln -sf extjs-upload-widget-1.1.1/lib/upload upload
41 41
42 cd $CUR_DIR 42 cd $CUR_DIR

http://lada.wald.intevation.org