Fri Nov 27 14:03:33 2015 UTC ()
SpatiaLite is an open source library intended to extend the SQLite core to
support fully fledged Spatial SQL capabilities. SQLite is intrinsically simple
and lightweight:
* a single lightweight library implementing the full SQL engine
* standard SQL implementation: almost complete SQL-92
* no complex client/server architecture
* a whole database simply corresponds to a single monolithic file (no size
limits)
* any DB-file can be safely exchanged across different platforms, because the
internal architecture is universally portable
* no installation, no configuration
SpatiaLite is smoothly 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.
(adam)
diff -r0 -r1.1 pkgsrc/geography/libspatialite/DESCR
diff -r0 -r1.1 pkgsrc/geography/libspatialite/Makefile
diff -r0 -r1.1 pkgsrc/geography/libspatialite/PLIST
diff -r0 -r1.1 pkgsrc/geography/libspatialite/buildlink3.mk
diff -r0 -r1.1 pkgsrc/geography/libspatialite/distinfo
diff -r0 -r1.1 pkgsrc/geography/libspatialite/patches/patch-configure
SpatiaLite is an open source library intended to extend the SQLite core to
support fully fledged Spatial SQL capabilities. SQLite is intrinsically simple
and lightweight:
* a single lightweight library implementing the full SQL engine
* standard SQL implementation: almost complete SQL-92
* no complex client/server architecture
* a whole database simply corresponds to a single monolithic file (no size
limits)
* any DB-file can be safely exchanged across different platforms, because the
internal architecture is universally portable
* no installation, no configuration
SpatiaLite is smoothly 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.
# $NetBSD: Makefile,v 1.1 2015/11/27 14:03:33 adam Exp $
DISTNAME= libspatialite-4.3.0a
CATEGORIES= geography
MASTER_SITES= http://www.gaia-gis.it/gaia-sins/
MAINTAINER= pkgsrc@NetBSD.org
HOMEPAGE= https://www.gaia-gis.it/fossil/libspatialite/
COMMENT= Library intended to extend SQLite core to support Spatial SQL
LICENSE= gnu-gpl-v2 OR gnu-lgpl-v2.1
USE_LANGUAGES= c
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-examples
PKGCONFIG_OVERRIDE= spatialite.pc.in
.include "../../converters/libiconv/buildlink3.mk"
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../geography/geos/buildlink3.mk"
.include "../../geography/proj/buildlink3.mk"
.include "../../textproc/freexl/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.1 2015/11/27 14:03:33 adam Exp $
include/spatialite.h
include/spatialite/control_points.h
include/spatialite/debug.h
include/spatialite/gaiaaux.h
include/spatialite/gaiaexif.h
include/spatialite/gaiageo.h
include/spatialite/gaiamatrix.h
include/spatialite/geopackage.h
include/spatialite/gg_advanced.h
include/spatialite/gg_const.h
include/spatialite/gg_core.h
include/spatialite/gg_dxf.h
include/spatialite/gg_dynamic.h
include/spatialite/gg_formats.h
include/spatialite/gg_mbr.h
include/spatialite/gg_structs.h
include/spatialite/gg_wfs.h
include/spatialite/gg_xml.h
include/spatialite/spatialite.h
include/spatialite/sqlite.h
lib/libspatialite.la
lib/mod_spatialite.la
lib/pkgconfig/spatialite.pc
# $NetBSD: buildlink3.mk,v 1.1 2015/11/27 14:03:33 adam Exp $
BUILDLINK_TREE+= libspatialite
.if !defined(LIBSPATIALITE_BUILDLINK3_MK)
LIBSPATIALITE_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.libspatialite+= libspatialite>=4.3.0a
BUILDLINK_PKGSRCDIR.libspatialite?= ../../geography/libspatialite
.include "../../converters/libiconv/buildlink3.mk"
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../geography/geos/buildlink3.mk"
.include "../../geography/proj/buildlink3.mk"
.include "../../textproc/freexl/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.endif # LIBSPATIALITE_BUILDLINK3_MK
BUILDLINK_TREE+= -libspatialite
$NetBSD: distinfo,v 1.1 2015/11/27 14:03:33 adam Exp $
SHA1 (libspatialite-4.3.0a.tar.gz) = 56176d6722e469d6863d27a2b17b0b181c2f1f87
RMD160 (libspatialite-4.3.0a.tar.gz) = ee8d9f3f69f1c70f041b418e0e51a05ec40a5be7
SHA512 (libspatialite-4.3.0a.tar.gz) = adfd63e8dde0f370b07e4e7bb557647d2bfb5549205b60bdcaaca69ff81298a3d885e7c1ca515ef56dd0aca152ae940df8b5dbcb65bb61ae0a9337499895c3c0
Size (libspatialite-4.3.0a.tar.gz) = 4440660 bytes
SHA1 (patch-configure) = 1ee6a1551f9f059bd34bee47993acd4a019d4a82
$NetBSD: patch-configure,v 1.1 2015/11/27 14:03:33 adam Exp $
Portability fix.
--- configure.orig 2015-11-26 15:50:52.000000000 +0000
+++ configure
@@ -17390,7 +17390,7 @@ else
enable_geocallbacks=no
fi
-if test x"$enable_geocallbacks" == "xyes"; then
+if test x"$enable_geocallbacks" = "xyes"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_rtree_geometry_callback in -lsqlite3" >&5
$as_echo_n "checking for sqlite3_rtree_geometry_callback in -lsqlite3... " >&6; }
if ${ac_cv_lib_sqlite3_sqlite3_rtree_geometry_callback+:} false; then :
@@ -18544,7 +18544,7 @@ if test x"$enable_geopackage" != "xno";
$as_echo "#define ENABLE_GEOPACKAGE 1" >>confdefs.h
fi
- if test x"$enable_geopackage" == "xyes"; then
+ if test x"$enable_geopackage" = "xyes"; then
ENABLE_GEOPACKAGE_TRUE=
ENABLE_GEOPACKAGE_FALSE='#'
else