summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/postgis/README12
-rw-r--r--system/postgis/postgis.SlackBuild8
2 files changed, 17 insertions, 3 deletions
diff --git a/system/postgis/README b/system/postgis/README
index 80eac03b71..0a7af70ec1 100644
--- a/system/postgis/README
+++ b/system/postgis/README
@@ -2,9 +2,17 @@ PostGIS adds support for geographic objects to the PostgreSQL
object-relational database. In effect, PostGIS "spatially
enables" the PostgreSQL server, allowing it to be used as a
backend spatial database for geographic information systems
-(GIS), much like ESRI's SDE or Oracle's Spatial extension.
+(GIS).
To disable raster support and eliminate the gdal dependency,
set RASTER=no. If you choose this path, be aware that
postgis will still need the two dependencies that gdal
-rely on, proj and geos.
+relies on, proj and geos.
+
+To disable the GTK-based graphical interface for shp2pgsql,
+set GUI=no.
+
+This SlackBuild does not build the PostGIS JDBC driver since
+the build requires Apache Maven to download dependencies at
+build time. The optional dependencies needed to build the
+driver are: apache-ant, apache-maven, and postgres-jdbc.
diff --git a/system/postgis/postgis.SlackBuild b/system/postgis/postgis.SlackBuild
index 5b36cc9655..17f7b774d8 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