Skip to content

Instantly share code, notes, and snippets.

@royseto
Last active May 8, 2016 20:06
Show Gist options
  • Save royseto/ad7a30beb7caf0eb5b6ad6b4364b0c34 to your computer and use it in GitHub Desktop.
Save royseto/ad7a30beb7caf0eb5b6ad6b4364b0c34 to your computer and use it in GitHub Desktop.
#!/bin/bash
fpm -s dir -t deb -n postgres9.4.1-postgis2.1.5 -v 9.4.1-2.1.5-local1 \
-d build-essential -d libreadline-dev -d zlib1g-dev -d flex \
-d bison -d libxml2-dev -d libxslt-dev -d libssl-dev -d wget \
--description "PostgreSQL 9.4.1 with PostGIS 2.1.5 built on Ubuntu 14.04 in /usr/local/" \
-x /usr/local/bin/fpm -x /usr/local/lib/python3.4 -x /usr/local/lib/site_ruby \
/usr/local/bin /usr/local/include /usr/local/lib /usr/local/pgsql /usr/local/share
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment