summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/pxz/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/pxz/package.py')
-rw-r--r--var/spack/repos/builtin/packages/pxz/package.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/pxz/package.py b/var/spack/repos/builtin/packages/pxz/package.py
new file mode 100644
index 0000000000..8cfced300b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/pxz/package.py
@@ -0,0 +1,25 @@
+# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Pxz(MakefilePackage):
+ """Pxz is a parallel LZMA compressor using liblzma."""
+
+ homepage = "https://jnovy.fedorapeople.org/pxz/pxz.html"
+ url = "http://jnovy.fedorapeople.org/pxz/pxz-4.999.9beta.20091201git.tar.xz"
+ git = "https://github.com/jnovy/pxz.git"
+
+ version('develop', branch='master')
+ version('4.999.9beta.20091201git', '4ae3926185978f5c95c9414dc4634451')
+
+ depends_on('lzma')
+
+ conflicts('platform=darwin', msg='Pxz runs only on Linux.')
+
+ def install(self, spec, prefix):
+ make('install', "DESTDIR=%s" % prefix,
+ "BINDIR=/bin", "MANDIR=/share/man")