diff --git a/builds/libraries/vendor/geos b/builds/libraries/vendor/geos new file mode 100755 index 0000000000000000000000000000000000000000..1baa750d7c66c1e06ec0d7f00810f9bfcf4e5d43 --- /dev/null +++ b/builds/libraries/vendor/geos @@ -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 geos..." + +SOURCE_TARBALL='http://download.osgeo.org/geos/geos-3.4.2.tar.bz2' + +curl -L $SOURCE_TARBALL | tar xj + +cd geos-3.4.2 +./configure --prefix=$OUT_PREFIX && +make +make install + +# Cleanup +cd ..