diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/libbeagle/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/libbeagle/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libbeagle/package.py b/var/spack/repos/builtin/packages/libbeagle/package.py index 4809bf2423..1678e01939 100644 --- a/var/spack/repos/builtin/packages/libbeagle/package.py +++ b/var/spack/repos/builtin/packages/libbeagle/package.py @@ -41,7 +41,12 @@ class Libbeagle(AutotoolsPackage): depends_on('subversion', type='build') depends_on('pkgconfig', type='build') + depends_on('java', type='build') def url_for_version(self, version): url = "https://github.com/beagle-dev/beagle-lib/archive/beagle_release_{0}.tar.gz" return url.format(version.underscored) + + def setup_environment(self, spack_env, run_env): + prefix = self.prefix + run_env.prepend_path('BEAST_LIB', prefix.lib) |