blob: ba6c9733a7ef51c3844bc7147917cc9cf9d88bd4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
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',
url = 'http://tukaani.org/xz/xz-5.2.0.tar.bz2')
version('5.2.2', 'f90c9a0c8b259aee2234c4e0d7fd70af',
url = 'http://tukaani.org/xz/xz-5.2.2.tar.bz2')
def install(self, spec, prefix):
configure("--prefix=%s" % prefix)
make()
make("install")
|