geos 394 Bytes
Newer Older
Kenneth Reitz's avatar
Kenneth Reitz committed
1 2 3 4 5 6 7 8 9 10 11 12
#!/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..."

Kenneth Reitz's avatar
Kenneth Reitz committed
13
SOURCE_TARBALL='http://download.osgeo.org/geos/geos-3.4.3.tar.bz2'
Kenneth Reitz's avatar
Kenneth Reitz committed
14 15 16

curl -L $SOURCE_TARBALL | tar xj

Kenneth Reitz's avatar
Kenneth Reitz committed
17
cd geos-3.4.3
18
./configure --prefix=$OUT_PREFIX --enable-static=no &&
Kenneth Reitz's avatar
Kenneth Reitz committed
19 20 21 22 23
make
make install

# Cleanup
cd ..