From e6c339ebae7288f938f6ac6fa94eafea8bcb0ebe Mon Sep 17 00:00:00 2001
From: Kenneth Reitz <me@kennethreitz.org>
Date: Wed, 13 May 2015 16:41:26 +0200
Subject: [PATCH] first attempt at gdal build

---
 builds/libraries/gdal | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100755 builds/libraries/gdal

diff --git a/builds/libraries/gdal b/builds/libraries/gdal
new file mode 100755
index 00000000..5a55fa68
--- /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 ..
-- 
GitLab