diff options
author | Benjamin Trigona-Harany <bosth@alumni.sfu.ca> | 2012-09-11 08:27:04 -0700 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-11 23:53:42 -0500 |
commit | 5786bc0b80daa23e195f5f56d54632f083d98563 (patch) | |
tree | 0d51a8185c5baf83f4709fe835e76e29d8ea7ab8 /system/postgis/postgis.SlackBuild | |
parent | 8ac78dc4bcdd624e2aa99dd611e8022b388b716a (diff) |
system/postgis: Update for version 2.0.1 and change maintainer.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/postgis/postgis.SlackBuild')
-rwxr-xr-x[-rw-r--r--] | system/postgis/postgis.SlackBuild | 15 |
1 files changed, 10 insertions, 5 deletions
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 |