Skip to content
Snippets Groups Projects
Commit f8c7dab8 authored by Adam J. Stewart's avatar Adam J. Stewart Committed by Todd Gamblin
Browse files

Convert xerces-c to AutotoolsPackage (#2907)

parent e317f263
No related branches found
No related tags found
No related merge requests found
...@@ -25,21 +25,17 @@ ...@@ -25,21 +25,17 @@
from spack import * from spack import *
class XercesC(Package): class XercesC(AutotoolsPackage):
"""Xerces-C++ is a validating XML parser written in a portable subset of """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 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, and write XML data. A shared library is provided for parsing, generating,
manipulating, and validating XML documents using the DOM, SAX, and SAX2 manipulating, and validating XML documents using the DOM, SAX, and SAX2
APIs. APIs."""
"""
homepage = "https://xerces.apache.org/xerces-c" homepage = "https://xerces.apache.org/xerces-c"
url = "https://www.apache.org/dist/xerces/c/3/sources/xerces-c-3.1.4.tar.bz2" url = "https://www.apache.org/dist/xerces/c/3/sources/xerces-c-3.1.4.tar.bz2"
version('3.1.4', 'd04ae9d8b2dee2157c6db95fa908abfd') version('3.1.4', 'd04ae9d8b2dee2157c6db95fa908abfd')
def install(self, spec, prefix): def configure_args(self):
configure("--prefix=%s" % prefix, return ['--disable-network']
"--disable-network")
make("clean")
make()
make("install")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment