Merge branch 'spatialite' into 'master'

Update SpatiaLite to 4.3.0

See merge request sccs/easyconfigs-it4i!25

Former-commit-id: c8351f183e42132b5711c32c6f4aca68a2d1a386
This commit is contained in:
Lukáš Krupčík 2018-05-29 11:58:34 +02:00
commit 2998c34d59
3 changed files with 117 additions and 0 deletions

View File

@ -0,0 +1,31 @@
easyblock = 'ConfigureMake'
name = 'GDAL'
version = "2.1.0"
homepage = 'http://www.gdal.org/'
description = """GDAL is a translator library for raster geospatial data formats that is released under an X/MIT style
Open Source license by the Open Source Geospatial Foundation. As a library, it presents a single abstract data model
to the calling application for all supported formats. It also comes with a variety of useful commandline utilities for
data translation and processing."""
toolchain = {'name': 'GCC', 'version': '6.3.0-2.27'}
source_urls = ['http://download.osgeo.org/gdal/%(version)s/']
sources = [SOURCELOWER_TAR_GZ]
dependencies = [('zlib', '1.2.8'),]
configopts = '--with-python=/usr/bin/python '
# to avoid libtool error, http://www.michael-joost.de/gdal_install.html
preconfigopts = 'unset CC CPP CXX &&'
prebuildopts = 'unset CC CPP CXX &&'
sanity_check_paths = {
'files': ['lib/libgdal.so', 'lib/libgdal.a'],
'dirs': ['bin', 'include']
}
moduleclass = 'data'

View File

@ -0,0 +1,43 @@
##
# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild
#
# Copyright:: Copyright 2012-2014 Uni.Lu/LCSB, NTUA
# Authors:: Fotis Georgatos <fotis@cern.ch>
# License:: MIT/GPL
# $Id$
#
# This work implements a part of the HPCBIOS project and is a component of the policy:
# http://hpcbios.readthedocs.org/en/latest/
##
easyblock = 'ConfigureMake'
name = 'SQLite'
version = '3.18.2'
homepage = 'http://www.sqlite.org/'
description = 'SQLite: SQL Database Engine in a C Library'
toolchain = {'name': 'GCC', 'version': '6.3.0-2.27'}
source_urls = ['http://www.sqlite.org/2017/']
version_minor_etc = version.split('.')[1:]
version_minor_etc += '0' * (3 - len(version_minor_etc))
version_str = '%(version_major)s' + ''.join('%02d' % int(x) for x in version_minor_etc)
sources = [
'sqlite-autoconf-%s.tar.gz' % version_str,
# 'sqlite-amalgamation-%s.zip' % version_str,
]
dependencies = [
('libreadline', '7.0'),
('Tcl', '8.6.6'),
]
sanity_check_paths = {
'files': ['bin/sqlite3', 'include/sqlite3ext.h', 'include/sqlite3.h', 'lib/libsqlite3.a',
'lib/libsqlite3.%s' % SHLIB_EXT],
'dirs': ['lib/pkgconfig'],
}
moduleclass = 'devel'

View File

@ -0,0 +1,43 @@
##
# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild
#
# Copyright:: Copyright 2018 IT4Innovations, VSB - TU Ostrava
# Authors:: Martin Golasowski <martin.golasowski@vsb.cz>
# License:: MIT/GPL
# $Id$
#
# This work implements a part of the HPCBIOS project and is a component of the policy:
# http://hpcbios.readthedocs.org/en/latest/
##
easyblock = 'ConfigureMake'
name = 'SpatiaLite'
version = '4.3.0a'
homepage = 'https://www.gaia-gis.it/fossil/libspatialite/index'
description = """SpatiaLite is an open source library intended to extend the SQLite core to support
fully fledged Spatial SQL capabilities.
"""
toolchain = {'name': 'GCC', 'version': '6.3.0-2.27'}
source_urls = ['http://www.gaia-gis.it/gaia-sins/']
sources = ['lib%(namelower)s-%(version)s.tar.gz']
builddependencies = [('SQLite', '3.18.2')]
dependencies = [('SQLite', '3.18.2'),
('PROJ_4', '4.9.2', '', True),
('GEOS', '3.5.0', '', True),
('GDAL', '2.1.0'),
('expat', '2.1.0', '', True)
]
preconfigopts = 'export LIBS="-lm -lpthread -L/apps/all/SQLite/3.18.2-GCC-6.3.0-2.27/lib" && '
configopts = '--disable-freexl'
sanity_check_paths = {
'files': ['include/spatialite.h', 'lib/libspatialite.so'],
'dirs': ['lib', 'include']
}
moduleclass = 'lib'