diff options
Diffstat (limited to 'gis/pgsql-ogr-fdw')
-rw-r--r-- | gis/pgsql-ogr-fdw/README | 4 | ||||
-rw-r--r-- | gis/pgsql-ogr-fdw/pgsql-ogr-fdw.SlackBuild | 20 | ||||
-rw-r--r-- | gis/pgsql-ogr-fdw/pgsql-ogr-fdw.info | 6 |
3 files changed, 20 insertions, 10 deletions
diff --git a/gis/pgsql-ogr-fdw/README b/gis/pgsql-ogr-fdw/README index cf5eb43796..7230b2ae9b 100644 --- a/gis/pgsql-ogr-fdw/README +++ b/gis/pgsql-ogr-fdw/README @@ -1,2 +1,2 @@ -pgsql-ogr-fdw is a foreign data wrapper for OGR that allows arbitrary OGR -vector data stores to be accessed as PostgreSQL tables. +pgsql-ogr-fdw is a foreign data wrapper for OGR that allows arbitrary +OGR vector data stores to be accessed as PostgreSQL tables. diff --git a/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.SlackBuild b/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.SlackBuild index dc552b593d..9ea5f30b04 100644 --- a/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.SlackBuild +++ b/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # SlackBuild script for pgsql-ogr-fdw -# Copyright 2015-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2015-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -24,10 +24,13 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=pgsql-ogr-fdw -VERSION=${VERSION:-1.0.9} +VERSION=${VERSION:-1.1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -91,4 +101,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.info b/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.info index 3e3d41b8bb..d510b6662b 100644 --- a/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.info +++ b/gis/pgsql-ogr-fdw/pgsql-ogr-fdw.info @@ -1,8 +1,8 @@ PRGNAM="pgsql-ogr-fdw" -VERSION="1.0.9" +VERSION="1.1.1" HOMEPAGE="https://github.com/pramsey/pgsql-ogr-fdw" -DOWNLOAD="https://github.com/pramsey/pgsql-ogr-fdw/archive/v1.0.9/pgsql-ogr-fdw-1.0.9.tar.gz" -MD5SUM="0f553c756153a46f13100b0aaec152cc" +DOWNLOAD="https://github.com/pramsey/pgsql-ogr-fdw/archive/v1.1.1/pgsql-ogr-fdw-1.1.1.tar.gz" +MD5SUM="6bf61db1b4f3a5e33c98cc6618c20bd6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="postgis" |