diff options
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/libspatialite/README | 3 | ||||
-rw-r--r-- | libraries/libspatialite/libspatialite.SlackBuild | 13 | ||||
-rw-r--r-- | libraries/libspatialite/libspatialite.info | 6 |
3 files changed, 15 insertions, 7 deletions
diff --git a/libraries/libspatialite/README b/libraries/libspatialite/README index 50bf688a0409f..52bbc54ffb54d 100644 --- a/libraries/libspatialite/README +++ b/libraries/libspatialite/README @@ -4,3 +4,6 @@ integrated into SQLite to provide a complete and powerful Spatial DBMS (mostly OGC-SFS compliant). Using SQLite + SpatiaLite you can effectively deploy an alternative open source Spatial DBMS roughly equivalent to PostgreSQL + PostGIS. + +liblwgeom (postgis) is optional but strongly recommended dependency. To build +spatialite with liblwgeom support set LWGEOM=yes. 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 diff --git a/libraries/libspatialite/libspatialite.info b/libraries/libspatialite/libspatialite.info index c0b9b9aaae1a5..415021d702e49 100644 --- a/libraries/libspatialite/libspatialite.info +++ b/libraries/libspatialite/libspatialite.info @@ -1,8 +1,8 @@ PRGNAM="libspatialite" -VERSION="3.0.1" +VERSION="4.0.0" HOMEPAGE="https://www.gaia-gis.it/fossil/libspatialite/index" -DOWNLOAD="http://www.gaia-gis.it/gaia-sins/libspatialite-3.0.1.tar.gz" -MD5SUM="450d1a0d9da1bd9f770b7db3f2509f69" +DOWNLOAD="http://www.gaia-gis.it/gaia-sins/libspatialite-4.0.0.tar.gz" +MD5SUM="8040ce4e39913e7d284675c0f15d270d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="freexl geos proj" |