summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2015-02-15 23:04:04 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2015-02-15 23:04:04 -0800
commit847ed8ad399973477a7889b6367911f10c56f6bf (patch)
tree65ae03a9cefadf58e5c95cbc9a863927e9eaffce /var
parentb86eb695523c235371169d0139486bcae15a7948 (diff)
downloadspack-847ed8ad399973477a7889b6367911f10c56f6bf.tar.gz
spack-847ed8ad399973477a7889b6367911f10c56f6bf.tar.bz2
spack-847ed8ad399973477a7889b6367911f10c56f6bf.tar.xz
spack-847ed8ad399973477a7889b6367911f10c56f6bf.zip
Add libxslt, cleanup libxml2.
Diffstat (limited to 'var')
-rw-r--r--var/spack/packages/libxml2/package.py3
-rw-r--r--var/spack/packages/libxslt/package.py24
2 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/packages/libxml2/package.py b/var/spack/packages/libxml2/package.py
index 5eaed36d94..72199d8def 100644
--- a/var/spack/packages/libxml2/package.py
+++ b/var/spack/packages/libxml2/package.py
@@ -9,6 +9,9 @@ class Libxml2(Package):
version('2.9.2', '9e6a9aca9d155737868b3dc5fd82f788')
+ depends_on('zlib')
+ depends_on('xz')
+
def install(self, spec, prefix):
configure("--prefix=%s" % prefix,
"--without-python")
diff --git a/var/spack/packages/libxslt/package.py b/var/spack/packages/libxslt/package.py
new file mode 100644
index 0000000000..f97332d020
--- /dev/null
+++ b/var/spack/packages/libxslt/package.py
@@ -0,0 +1,24 @@
+from spack import *
+
+class Libxslt(Package):
+ """Libxslt is the XSLT C library developed for the GNOME
+ project. XSLT itself is a an XML language to define
+ transformation for XML. Libxslt is based on libxml2 the XML C
+ library developed for the GNOME project. It also implements
+ most of the EXSLT set of processor-portable extensions
+ functions and some of Saxon's evaluate and expressions
+ extensions."""
+ homepage = "http://www.xmlsoft.org/XSLT/index.html"
+ url = "http://xmlsoft.org/sources/libxslt-1.1.28.tar.gz"
+
+ version('1.1.28', '9667bf6f9310b957254fdcf6596600b7')
+
+ depends_on("libxml2")
+ depends_on("xz")
+ depends_on("zlib")
+ depends_on("libgcrypt")
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+ make()
+ make("install")