diff --git a/builds/libraries/gdal b/builds/libraries/gdal new file mode 100755 index 0000000000000000000000000000000000000000..5a55fa68c58d9cdd7d378c3a822a11a00f8573c6 --- /dev/null +++ b/builds/libraries/gdal @@ -0,0 +1,23 @@ +#!/usr/bin/env bash +# Build Path: /app/.heroku/python/ + +OUT_PREFIX=$1 + +# Use new path, containing autoconf. +export PATH="/app/.heroku/python/bin/:$PATH" +hash -r + + +echo "Building gdal..." + +SOURCE_TARBALL='http://download.osgeo.org/gdal/1.11.0/gdal-1.11.0.tar.gz' + +curl -L $SOURCE_TARBALL | tar zx + +cd gdal-1.11.0 +./configure --prefix=$OUT_PREFIX && +make +make install + +# Cleanup +cd ..