diff --git a/builds/libraries/vendor/proj b/builds/libraries/vendor/proj new file mode 100755 index 0000000000000000000000000000000000000000..af19b6f20d4bb80a71dbf3ad9d236ae0e11f53d7 --- /dev/null +++ b/builds/libraries/vendor/proj @@ -0,0 +1,23 @@ +#!/usr/bin/env bash +# Build Path: /app/.heroku/vendor/ + +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/proj/proj-4.8.0.tar.gz' + +curl -L $SOURCE_TARBALL | tar zx + +cd proj-4.8.0 +./configure --prefix=$OUT_PREFIX && +make +make install + +# Cleanup +cd ..