aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2012-09-11 08:27:04 -0700
committerRobby Workman <rworkman@slackbuilds.org>2012-09-11 23:53:42 -0500
commit5786bc0b80daa23e195f5f56d54632f083d98563 (patch)
tree0d51a8185c5baf83f4709fe835e76e29d8ea7ab8
parent8ac78dc4bcdd624e2aa99dd611e8022b388b716a (diff)
system/postgis: Update for version 2.0.1 and change maintainer.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--system/postgis/README3
-rwxr-xr-x[-rw-r--r--]system/postgis/postgis.SlackBuild15
-rw-r--r--system/postgis/postgis.info12
3 files changed, 19 insertions, 11 deletions
diff --git a/system/postgis/README b/system/postgis/README
index 1764f6fd5e646..8cc8fe8a2ae86 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
index 02e39b765d3ec..6af8163479dc3 100644..100755
--- 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 <bosth@alumni.sfu.ca>
+
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 8c636c341e542..6f722315a89dd 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"