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

class Xz(Package):
    """XZ Utils is free general-purpose data compression software with
       high compression ratio. XZ Utils were written for POSIX-like
       systems, but also work on some not-so-POSIX systems. XZ Utils are
       the successor to LZMA Utils."""
    homepage = "http://tukaani.org/xz/"
    url      = "http://tukaani.org/xz/xz-5.2.0.tar.bz2"

    version('5.2.0', '867cc8611760240ebf3440bd6e170bb9')
    version('5.2.2', 'f90c9a0c8b259aee2234c4e0d7fd70af')

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