https://github.com/GeoscienceAustralia/PyRate
Tip revision: 20300854948723d29f27ee4bc799adff4c698f8d authored by Sudipta Basak on 15 June 2021, 21:06:36 UTC
using shared instead could be faster
using shared instead could be faster
Tip revision: 2030085
ci_proj_install.sh
#!/bin/sh
set -e
# Create build dir if not exists
if [ ! -d "$PROJBUILD" ]; then
mkdir $PROJBUILD;
fi
if [ ! -d "$PROJINST" ]; then
mkdir $PROJINST;
fi
ls -l $PROJINST
echo "PROJ VERSION: $PROJVERSION"
if [ ! -d "$PROJINST/gdal-$GDALVERSION/share/proj" ]; then
cd $PROJBUILD
wget -q https://download.osgeo.org/proj/proj-$PROJVERSION.tar.gz
tar -xzf proj-$PROJVERSION.tar.gz
cd proj-$PROJVERSION
./configure --prefix=$PROJINST/gdal-$GDALVERSION
make -s -j 2
make install
fi