diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/install-dependencies.sh	Thu Oct 29 18:11:21 2015 +0100
@@ -0,0 +1,42 @@
+#!/bin/bash -e
+
+CUR_DIR=`pwd`
+SCRIPT_DIR=`dirname $0`
+
+cd $SCRIPT_DIR
+wget https://cdn.sencha.com/ext/gpl/ext-4.2.1-gpl.zip
+unzip ext-4.2.1-gpl.zip
+ln -s ext-4.2.1.883 extjs
+
+mkdir -p resources/lib/ext
+cd resources/lib
+
+wget https://github.com/eligrey/FileSaver.js/archive/master.zip \
+     -O FileSaver-js.zip
+unzip FileSaver-js.zip
+ln -s FileSaver.js-master FileSaver
+
+wget https://github.com/eligrey/Blob.js/archive/master.zip \
+     -O Blob-js.zip
+unzip Blob-js.zip
+ln -s Blob.js-master Blob
+
+wget https://github.com/openlayers/openlayers/archive/release-2.13.1.zip \
+     -O OpenLayers-2-13-1.zip
+unzip OpenLayers-2-13-1.zip
+ln -s openlayers-release-2.13.1/build OpenLayers
+cd OpenLayers
+python build.py
+
+cd ../ext
+wget https://github.com/elmasse/Ext.i18n.Bundle/archive/v0.3.3.zip \
+     -O Ext-i18n-Bundle-v0-3-3.zip
+unzip Ext-i18n-Bundle-v0-3-3.zip
+ln -s Ext.i18n.Bundle-0.3.3/i18n i18n
+
+wget https://github.com/ivan-novakov/extjs-upload-widget/archive/1.1.1.zip \
+     -O Ext-ux-Upload-1-1-1.zip
+unzip Ext-ux-Upload-1-1-1.zip
+ln -s extjs-upload-widget-1.1.1/lib/upload upload
+
+cd $CUR_DIR

http://lada.wald.intevation.org