diff options
author | Phil Tooley <32297355+ptooley@users.noreply.github.com> | 2019-02-27 00:41:44 +0000 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2019-02-26 18:41:44 -0600 |
commit | 018ae371d62178138f1ee4b74f7b808910e251bf (patch) | |
tree | d23adb8ac70585df4e5167e8c526e3619edc5ed9 | |
parent | 312122f1691ecfc18165b1ed04ac94b05a0bbf1e (diff) | |
download | spack-018ae371d62178138f1ee4b74f7b808910e251bf.tar.gz spack-018ae371d62178138f1ee4b74f7b808910e251bf.tar.bz2 spack-018ae371d62178138f1ee4b74f7b808910e251bf.tar.xz spack-018ae371d62178138f1ee4b74f7b808910e251bf.zip |
new package: routino (#10679)
-rw-r--r-- | var/spack/repos/builtin/packages/routino/package.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/routino/package.py b/var/spack/repos/builtin/packages/routino/package.py new file mode 100644 index 0000000000..4b46d47d4d --- /dev/null +++ b/var/spack/repos/builtin/packages/routino/package.py @@ -0,0 +1,24 @@ +# 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 Routino(MakefilePackage): + """Routino is an application for finding a route between two points using + the dataset of topographical information collected by + http://www.OpenStreetMap.org.""" + + homepage = "https://www.routino.org" + url = "https://www.routino.org/download/routino-3.2.tgz" + + version('3.2', sha256='e2a431eaffbafab630835966d342e4ae25d5edb94c8ed419200e1ffb50bc7552') + + depends_on('zlib') + depends_on('bzip2') + + def edit(self, spec, prefix): + makefile = FileFilter('Makefile.conf') + makefile.filter('prefix=.*', 'prefix={0}'.format(prefix)) |