mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
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>
This commit is contained in:
parent
5eb81f8ae1
commit
729e017b77
2 changed files with 17 additions and 3 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue