diff options
author | Benjamin Trigona-Harany <bosth@alumni.sfu.ca> | 2012-12-28 09:19:14 +0100 |
---|---|---|
committer | Matteo Bernardini <ponce@slackbuilds.org> | 2012-12-28 09:19:31 +0100 |
commit | 729e017b77fe03e16bb2a0416bd64756815aa441 (patch) | |
tree | 6dfb581fc3fd94dbb8d4d564750beb6024035442 /system/postgis/postgis.SlackBuild | |
parent | 5eb81f8ae1ee5cdd001c5bd3a0114b590f167026 (diff) |
system/postgis: Added GUI component to build.
Added note to README about building JDBC driver,
fixed spelling (I am the one to blame for that ;P --ponce)
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/postgis/postgis.SlackBuild')
-rw-r--r-- | system/postgis/postgis.SlackBuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/system/postgis/postgis.SlackBuild b/system/postgis/postgis.SlackBuild index 5b36cc9655b0b..17f7b774d84b8 100644 --- a/system/postgis/postgis.SlackBuild +++ b/system/postgis/postgis.SlackBuild @@ -26,7 +26,7 @@ PRGNAM=postgis VERSION=${VERSION:-2.0.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -42,11 +42,16 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} RASTER=${RASTER:-yes} +GUI=${GUI:-yes} if [ "$RASTER" = "no" ] ; then RASTER_EXTENSION="--without-raster" fi +if [ "$GUI" = "yes" ] ; then + SHP2PGSQL_GUI="--with-gui" +fi + if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" @@ -86,6 +91,7 @@ CXXFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc \ --localstatedir=/var \ $RASTER_EXTENSION \ + $SHP2PGSQL_GUI \ --build=$ARCH-slackware-linux make |