mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-04 20:29:09 +01:00
libraries/libspatialite: Updated for version 4.0.0.
Noted the optional dependency postgis Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
8949a7b291
commit
bb69d475f3
3 changed files with 15 additions and 7 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue