Import librasterlite2 1.0.0rc0.

librasterlite2 is an open source library that stores and retrieves huge
raster coverages using a SpatiaLite DBMS. It doesnt conflict with the
existing librasterlite.

with tweaks from and ok ajacoutot@
This commit is contained in:
landry 2014-09-02 09:24:23 +00:00
parent 86b2c4d507
commit 5f66b8db3e
5 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,26 @@
# $OpenBSD: Makefile,v 1.1.1.1 2014/09/02 09:24:23 landry Exp $
COMMENT = store rasters coverages within spatialite
PROJECT = librasterlite2
DISTNAME = ${PROJECT}-1.0.0-rc0
PKGNAME = ${PROJECT}-1.0.0rc0
SHARED_LIBS += rasterlite2 0.0 # 1.0
MODULES += devel/gettext
LIB_DEPENDS += geo/spatialite/libspatialite>=4.1.0 \
archivers/xz \
net/curl \
graphics/cairo \
graphics/libwebp \
devel/geotiff
WANTLIB += X11 Xext Xrender c cairo crypto curl expat fontconfig
WANTLIB += freetype freexl geos geos_c geotiff gif idn jpeg
WANTLIB += lzma m pixman-1 png proj pthread pthread-stubs spatialite
WANTLIB += sqlite3 ssl stdc++ tiff webp xcb xcb-render xcb-shm
WANTLIB += xml2 z
# needed for check_sql_stmt test to succeed - it loads mod_rasterlite2
TEST_DEPENDS = ${BUILD_PKGPATH}
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (librasterlite2-1.0.0-rc0.tar.gz) = jd+OdkDswlkYBKl8x49UJjNi5n64rzCJ8BTcBYBg708=
SIZE (librasterlite2-1.0.0-rc0.tar.gz) = 16400254

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_Makefile_in,v 1.1.1.1 2014/09/02 09:24:23 landry Exp $
--- src/Makefile.in.orig Sun Aug 24 22:46:18 2014
+++ src/Makefile.in Sun Aug 24 22:46:30 2014
@@ -388,7 +388,7 @@ mod_rasterlite2_la_LIBADD = @LIBPNG_LIBS@ @LIBWEBP_LIB
mod_rasterlite2_la_CPPFLAGS = @CFLAGS@ -I$(top_srcdir)/headers -I. \
-DLOADABLE_EXTENSION
mod_rasterlite2_la_LIBTOOLFLAGS = --tag=disable-static
-@MINGW_FALSE@mod_rasterlite2_la_LDFLAGS = -module -version-info 1:0:0
+@MINGW_FALSE@mod_rasterlite2_la_LDFLAGS = -module -avoid-version
@MINGW_TRUE@mod_rasterlite2_la_LDFLAGS = -module -avoid-version -no-undefined
MOSTLYCLEANFILES = *.gcna *.gcno *.gcda
all: all-am

View File

@ -0,0 +1,2 @@
librasterlite2 is an open source library that stores and retrieves huge
raster coverages using a SpatiaLite DBMS.

View File

@ -0,0 +1,15 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2014/09/02 09:24:23 landry Exp $
@bin bin/rl2tool
@bin bin/wmslite
include/rasterlite2/
include/rasterlite2/rasterlite2.h
include/rasterlite2/rl2graphics.h
include/rasterlite2/rl2svg.h
include/rasterlite2/rl2tiff.h
include/rasterlite2/rl2wms.h
include/rasterlite2/sqlite.h
lib/librasterlite2.la
@lib lib/librasterlite2.so.${LIBrasterlite2_VERSION}
@comment lib/mod_rasterlite2.la
lib/mod_rasterlite2.so
lib/pkgconfig/rasterlite2.pc