From 427ec9e431c72bd255e591a5f39466714a4cfead Mon Sep 17 00:00:00 2001 From: Kenneth Reitz <me@kennethreitz.org> Date: Wed, 2 Mar 2016 18:55:20 -0500 Subject: [PATCH] first attempt at geos build --- builds/libraries/vendor/geos | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 builds/libraries/vendor/geos diff --git a/builds/libraries/vendor/geos b/builds/libraries/vendor/geos new file mode 100755 index 00000000..1baa750d --- /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 .. -- GitLab