diff options
author | Alexander Bruy <alexander.bruy@gmail.com> | 2012-12-19 22:11:04 +0100 |
---|---|---|
committer | Matteo Bernardini <ponce@slackbuilds.org> | 2012-12-19 22:11:27 +0100 |
commit | bb69d475f3c6a71eb25523c91bd232e52e15fe8d (patch) | |
tree | d3a9e32238aac40513752e10f9c5a1d25e8219a7 /libraries/libspatialite/libspatialite.SlackBuild | |
parent | 8949a7b29193815bff4b128aca0998be6205d41e (diff) |
libraries/libspatialite: Updated for version 4.0.0.
Noted the optional dependency postgis
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/libspatialite/libspatialite.SlackBuild')
-rw-r--r-- | libraries/libspatialite/libspatialite.SlackBuild | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/libraries/libspatialite/libspatialite.SlackBuild b/libraries/libspatialite/libspatialite.SlackBuild index c117f3ef32f4f..42fb76188ee58 100644 --- a/libraries/libspatialite/libspatialite.SlackBuild +++ b/libraries/libspatialite/libspatialite.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware build script for FreeXL +# Slackware build script for SpatiaLite # Copyright 2012 Alexander Bruy <alexander.bruy@gmail.com> # All rights reserved. # @@ -22,8 +22,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libspatialite -VERSION=${VERSION:-3.0.1} -BUILD=${BUILD:-2} +VERSION=${VERSION:-4.0.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -39,6 +39,10 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +if [ "$LWGEOM" = "yes" ] ; then + LWGEOM_SUPPORT="--enable-lwgeom" +fi + if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" @@ -78,6 +82,7 @@ LDFLAGS="-ldl" \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --disable-static \ --enable-freexl \ + $LWGEOM_SUPPORT \ --build=$ARCH-slackware-linux make @@ -88,7 +93,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS COPYING INSTALL README README.coverage \ + AUTHORS COPYING INSTALL README README.coverage spatialite-sql-latest.html\ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |