
We'd like to use a consistent checksum scheme everywhere so that we can: a) incorporate archive checksums into our specs and have a consistent hashing algorithm across all specs. b) index mirrors with a consistent type of checksum, and not one that is dependent on how spack packages are written. - [x] convert existing md5, sha224, sha512, sha1 checksums to sha256
34 lines
1.2 KiB
Python
34 lines
1.2 KiB
Python
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
|
#
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
from spack import *
|
|
|
|
|
|
class Fyba(AutotoolsPackage):
|
|
"""OpenFYBA is the source code release of the FYBA library, distributed
|
|
by the National Mapping Authority of Norway (Statens kartverk) to read
|
|
and write files in the National geodata standard format SOSI."""
|
|
|
|
homepage = "https://github.com/kartverket/fyba"
|
|
url = "https://github.com/kartverket/fyba/archive/4.1.1.tar.gz"
|
|
|
|
version('4.1.1', sha256='99f658d52e8fd8997118bb6207b9c121500700996d9481a736683474e2534179')
|
|
|
|
# configure: error: cannot find install-sh or install.sh
|
|
force_autoreconf = True
|
|
|
|
depends_on('autoconf', type='build')
|
|
depends_on('automake', type='build')
|
|
depends_on('libtool', type='build')
|
|
depends_on('m4', type='build')
|
|
|
|
# error: macro "min" passed 3 arguments, but takes just 2
|
|
# https://github.com/kartverket/fyba/issues/21
|
|
patch('gcc-6.patch')
|
|
|
|
# fatal error: 'sys/vfs.h' file not found
|
|
# https://github.com/kartverket/fyba/issues/12
|
|
patch('vfs-mount-darwin.patch', when='platform=darwin')
|