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


Kenneth Reitz's avatar
Kenneth Reitz committed
11
echo "Building geos…"
Kenneth Reitz's avatar
Kenneth Reitz committed
12

13 14 15
VERSION=3.6.2

SOURCE_TARBALL="http://download.osgeo.org/geos/geos-${VERSION}.tar.bz2"
Kenneth Reitz's avatar
Kenneth Reitz committed
16 17 18

curl -L $SOURCE_TARBALL | tar xj

19
pushd "geos-${VERSION}"
20
./configure --prefix=$OUT_PREFIX --enable-static=no &&
Kenneth Reitz's avatar
Kenneth Reitz committed
21 22 23 24
make
make install

# Cleanup
25
popd