summaryrefslogtreecommitdiff
path: root/var/spack/packages/libxml2/package.py
blob: 72199d8def86150098c7a98eb346c7abb1011893 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from spack import *

class Libxml2(Package):
    """Libxml2 is the XML C parser and toolkit developed for the Gnome
       project (but usable outside of the Gnome platform), it is free
       software available under the MIT License."""
    homepage = "http://xmlsoft.org"
    url      = "http://xmlsoft.org/sources/libxml2-2.9.2.tar.gz"

    version('2.9.2', '9e6a9aca9d155737868b3dc5fd82f788')

    depends_on('zlib')
    depends_on('xz')

    def install(self, spec, prefix):
        configure("--prefix=%s" % prefix,
                  "--without-python")
        make()
        make("install")