From c290b476bfda1c1fea3e4f4bae49b4695ca42592 Mon Sep 17 00:00:00 2001 From: Tom Harley Date: Mon, 24 Dec 2018 01:24:32 +0000 Subject: Combine install scripts into single script file The `getmeX.sh` scripts have all been replaced with a single script, `install.sh`, that downloads and builds all uncommon required software to the `ext` folder. Since everything is installed in `ext`, it's necessary to prepend `ext/bin` to the `PATH` to run commands. The alternative is to change the target folder in `install.sh`, or install the required dependencies manually. The Postgres database data is now stored in a folder `db` in the root of the project, instead of a folder based on the user's home. --- getmecziconversion.sh | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100755 getmecziconversion.sh (limited to 'getmecziconversion.sh') diff --git a/getmecziconversion.sh b/getmecziconversion.sh deleted file mode 100755 index 923e75d..0000000 --- a/getmecziconversion.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash - -mkdir -p ./ext/bin - -git clone https://github.com/glencoesoftware/jxrlib.git -cd ./jxrlib/ -mkdir build -make ${PWD}/build/JxrDecApp -cp ./build/JxrDecApp ../ext/bin/JxrDecApp -cd ../ -rm -rf jxrlib - -curl -L https://github.com/jcupitt/libvips/releases/download/v8.6.3/vips-8.6.3.tar.gz > vips-8.6.3.tar.gz -tar xf vips-8.6.3.tar.gz -rm vips-8.6.3.tar.gz -cd vips-8.6.3 -./configure --prefix="$PWD/../ext/" -make install -cd .. -rm -rf vips-8.6.3 -PATH="$PATH:$PWD/ext/bin" -LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$PWD/ext/lib" - -gcc -Wall -Wextra --pedantic -std=c99 ./src/conversion/czi/cziconvert.c -o ./ext/bin/CZICrunch - -cp ./src/conversion/czi/convertJxrs.py ./ext/bin/convertJxrs.py -- cgit v1.2.1