spack/var/spack/repos/builtin/packages/routino/package.py
Harmen Stoppels 7b9f8abce5
Add depends_on([c,cxx,fortran]) (#45217)
Add language dependencies `c`, `cxx`, and `fortran`.

These `depends_on` statements are auto-generated based on file extensions found
in source tarballs/zipfiles.

The `# generated` comment can be removed by package maintainers after
validating correctness.
2024-07-17 16:07:43 +02:00

29 lines
1.0 KiB
Python

# Copyright 2013-2024 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.package import *
class Routino(MakefilePackage):
"""Routino is an application for finding a route between two points using
the dataset of topographical information collected by
https://www.OpenStreetMap.org/."""
homepage = "https://www.routino.org"
url = "https://www.routino.org/download/routino-3.2.tgz"
version("3.3.3", sha256="abd82b77c314048f45030f7219887ca241b46d40641db6ccb462202b97a047f5")
version("3.2", sha256="e2a431eaffbafab630835966d342e4ae25d5edb94c8ed419200e1ffb50bc7552")
depends_on("c", type="build") # generated
depends_on("cxx", type="build") # generated
depends_on("zlib-api")
depends_on("bzip2")
def edit(self, spec, prefix):
makefile = FileFilter("Makefile.conf")
makefile.filter("prefix=.*", "prefix={0}".format(prefix))