From 5786bc0b80daa23e195f5f56d54632f083d98563 Mon Sep 17 00:00:00 2001 From: Benjamin Trigona-Harany Date: Tue, 11 Sep 2012 08:27:04 -0700 Subject: system/postgis: Update for version 2.0.1 and change maintainer. Signed-off-by: Robby Workman --- system/postgis/README | 3 +++ system/postgis/postgis.SlackBuild | 15 ++++++++++----- system/postgis/postgis.info | 12 ++++++------ 3 files changed, 19 insertions(+), 11 deletions(-) mode change 100644 => 100755 system/postgis/postgis.SlackBuild (limited to 'system') diff --git a/system/postgis/README b/system/postgis/README index 1764f6fd5e..8cc8fe8a2a 100644 --- a/system/postgis/README +++ b/system/postgis/README @@ -3,3 +3,6 @@ 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. + +To disable raster support and eliminate the gdal dependency, +set RASTER=no. diff --git a/system/postgis/postgis.SlackBuild b/system/postgis/postgis.SlackBuild old mode 100644 new mode 100755 index 02e39b765d..6af8163479 --- a/system/postgis/postgis.SlackBuild +++ b/system/postgis/postgis.SlackBuild @@ -22,8 +22,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Maintained by Benjamin Trigona-Harany + PRGNAM=postgis -VERSION=${VERSION:-1.5.2} +VERSION=${VERSION:-2.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -39,6 +41,11 @@ CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +RASTER=${RASTER:-yes} + +if [ "$RASTER" = "no" ] ; then + RASTER_EXTENSION="--without-raster" +fi if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" @@ -78,6 +85,7 @@ CXXFLAGS="$SLKCFLAGS" \ --datarootdir=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ + $RASTER_EXTENSION \ --build=$ARCH-slackware-linux make @@ -90,13 +98,10 @@ mkdir -p $PKG/usr/man/man1 cp -a doc/man/* $PKG/usr/man/man1 gzip -9 $PKG/usr/man/man1/*.1 -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ COPYING CREDITS ChangeLog NEWS README.postgis TODO \ $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - doc/html/{images,postgis.html,style.css} \ - $PKG/usr/doc/$PRGNAM-$VERSION/html cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/system/postgis/postgis.info b/system/postgis/postgis.info index 8c636c341e..6f722315a8 100644 --- a/system/postgis/postgis.info +++ b/system/postgis/postgis.info @@ -1,10 +1,10 @@ PRGNAM="postgis" -VERSION="1.5.2" +VERSION="2.0.1" HOMEPAGE="http://postgis.refractions.net" -DOWNLOAD="http://postgis.refractions.net/download/postgis-1.5.2.tar.gz" -MD5SUM="772ec1d0f04d6800cd7e2420a97a7483" +DOWNLOAD="http://postgis.refractions.net/download/postgis-2.0.1.tar.gz" +MD5SUM="7af9ce5f7dfb22d81fea7f041e674497" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="geos postgresql proj" -MAINTAINER="Peter Sarkoci" -EMAIL="sarkoci@math.sk" +REQUIRES="geos postgresql proj json-c gdal" +MAINTAINER="Benjamin Trigona-Harany" +EMAIL="bosth@alumni.sfu.ca" -- cgit v1.2.3