Commit c8351f18 authored by Lukáš Krupčík's avatar Lukáš Krupčík

Merge branch 'spatialite' into 'master'

Update SpatiaLite to 4.3.0

See merge request !25
parents a0012892 4a4f2b81
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'
##
# 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'
##
# 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'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment