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