summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/xrootd/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/xrootd/package.py')
-rw-r--r--var/spack/repos/builtin/packages/xrootd/package.py31
1 files changed, 10 insertions, 21 deletions
diff --git a/var/spack/repos/builtin/packages/xrootd/package.py b/var/spack/repos/builtin/packages/xrootd/package.py
index db076dbc56..94ee3eda46 100644
--- a/var/spack/repos/builtin/packages/xrootd/package.py
+++ b/var/spack/repos/builtin/packages/xrootd/package.py
@@ -1,13 +1,13 @@
##############################################################################
-# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.
+# Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory.
#
# This file is part of Spack.
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
# LLNL-CODE-647188
#
-# For details, see https://github.com/llnl/spack
-# Please also see the LICENSE file for our notice and the LGPL.
+# For details, see https://github.com/spack/spack
+# Please also see the NOTICE and LICENSE files for our notice and the LGPL.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License (as
@@ -26,27 +26,16 @@
from spack import *
-class Xrootd(Package):
+class Xrootd(CMakePackage):
"""The XROOTD project aims at giving high performance, scalable fault
tolerant access to data repositories of many kinds."""
homepage = "http://xrootd.org"
- url = "http://xrootd.org/download/v4.3.0/xrootd-4.3.0.tar.gz"
+ url = "http://xrootd.org/download/v4.6.0/xrootd-4.6.0.tar.gz"
+ version('4.6.0', '5d60aade2d995b68fe0c46896bc4a5d1')
+ version('4.5.0', 'd485df3d4a991e1c35efa4bf9ef663d7')
+ version('4.4.1', '72b0842f802ccc94dede4ac5ab2a589e')
+ version('4.4.0', '58f55e56801d3661d753ff5fd33dbcc9')
version('4.3.0', '39c2fab9f632f35e12ff607ccaf9e16c')
- depends_on('cmake', type='build')
-
- def install(self, spec, prefix):
- options = []
- options.extend(std_cmake_args)
-
- build_directory = join_path(self.stage.path, 'spack-build')
- source_directory = self.stage.source_path
-
- if '+debug' in spec:
- options.append('-DCMAKE_BUILD_TYPE:STRING=Debug')
-
- with working_dir(build_directory, create=True):
- cmake(source_directory, *options)
- make()
- make("install")
+ depends_on('cmake@2.6:', type='build')