Revision 62e7f0dd489a8327438d7cfb941760e7ec7be14d authored by Sudipta Basak on 15 January 2021, 22:02:56 UTC, committed by Matt Garthwaite on 25 May 2021, 03:22:21 UTC
1 parent 60596af
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

Computing file changes ...