blob: 79c8464c6271617920e5f78fd6788e4296988757 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 2013-2018 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 Cubew(AutotoolsPackage):
"""Component of CubeBundle: High performance C Writer library """
homepage = "http://www.scalasca.org/software/cube-4.x/download.html"
url = "http://apps.fz-juelich.de/scalasca/releases/cube/4.4/dist/cubew-4.4.tar.gz"
version('4.4.1', 'c09e3f5a3533ebedee2cc7dfaacd7bac4680c14c3fa540669466583a23f04b67')
version('4.4', 'e9beb140719c2ad3d971e1efb99e0916')
depends_on('zlib')
def url_for_version(self, version):
url = 'http://apps.fz-juelich.de/scalasca/releases/cube/{0}/dist/cubew-{1}.tar.gz'
return url.format(version.up_to(2), version)
def configure_args(self):
configure_args = ['--enable-shared']
return configure_args
def install(self, spec, prefix):
make('install', parallel=True)
|