summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2017-01-23 17:50:34 -0600
committerTodd Gamblin <tgamblin@llnl.gov>2017-01-23 15:50:34 -0800
commitf8c7dab826b86006ee4a74007a8a035bdf0723e6 (patch)
treedb15e1aed229c0b4aeae1bf9811d4d6861ef4416
parente317f2639c671ae64e7647599f9d6e9be07b744a (diff)
downloadspack-f8c7dab826b86006ee4a74007a8a035bdf0723e6.tar.gz
spack-f8c7dab826b86006ee4a74007a8a035bdf0723e6.tar.bz2
spack-f8c7dab826b86006ee4a74007a8a035bdf0723e6.tar.xz
spack-f8c7dab826b86006ee4a74007a8a035bdf0723e6.zip
Convert xerces-c to AutotoolsPackage (#2907)
-rw-r--r--var/spack/repos/builtin/packages/xerces-c/package.py14
1 files changed, 5 insertions, 9 deletions
diff --git a/var/spack/repos/builtin/packages/xerces-c/package.py b/var/spack/repos/builtin/packages/xerces-c/package.py
index 9f3ad8a4dc..bd28a9eec6 100644
--- a/var/spack/repos/builtin/packages/xerces-c/package.py
+++ b/var/spack/repos/builtin/packages/xerces-c/package.py
@@ -25,21 +25,17 @@
from spack import *
-class XercesC(Package):
+class XercesC(AutotoolsPackage):
"""Xerces-C++ is a validating XML parser written in a portable subset of
C++. Xerces-C++ makes it easy to give your application the ability to read
and write XML data. A shared library is provided for parsing, generating,
manipulating, and validating XML documents using the DOM, SAX, and SAX2
- APIs.
- """
+ APIs."""
homepage = "https://xerces.apache.org/xerces-c"
url = "https://www.apache.org/dist/xerces/c/3/sources/xerces-c-3.1.4.tar.bz2"
+
version('3.1.4', 'd04ae9d8b2dee2157c6db95fa908abfd')
- def install(self, spec, prefix):
- configure("--prefix=%s" % prefix,
- "--disable-network")
- make("clean")
- make()
- make("install")
+ def configure_args(self):
+ return ['--disable-network']