summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/routino/package.py24
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))