diff options
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 |