Merge branch '14-xz-module' into 'master'
Resolve "xz module" Closes #14 See merge request Pmodules/buildblocks!14
This commit is contained in:
Executable
+26
@@ -0,0 +1,26 @@
|
|||||||
|
#!/usr/bin/env modbuild
|
||||||
|
|
||||||
|
pbuild::add_to_group 'Tools'
|
||||||
|
|
||||||
|
pbuild::set_download_url \
|
||||||
|
"https://sourceforge.net/projects/lzmautils/files/$P-${V_PKG}.tar.gz"
|
||||||
|
|
||||||
|
pbuild::set_sha256sum 'xz-5.2.4.tar.gz:b512f3b726d3b37b6dc4c8570e137b9311e7552e8ccbab4d39d47ce5f4177145'
|
||||||
|
pbuild::install_docfiles \
|
||||||
|
AUTHORS \
|
||||||
|
COPYING \
|
||||||
|
COPYING.GPLv2 \
|
||||||
|
COPYING.GPLv3 \
|
||||||
|
COPYING.LGPLv2.1 \
|
||||||
|
ChangeLog \
|
||||||
|
NEWS \
|
||||||
|
PACKAGERS \
|
||||||
|
README \
|
||||||
|
THANKS \
|
||||||
|
TODO
|
||||||
|
|
||||||
|
# Local Variables:
|
||||||
|
# mode: sh
|
||||||
|
# sh-basic-offset: 8
|
||||||
|
# tab-width: 8
|
||||||
|
# End:
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
xz/5.2.4 stable
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
xz/5.2.4 stable
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
#%Pmodule
|
||||||
|
|
||||||
|
module-whatis "free general-purpose data compression software"
|
||||||
|
module-url "https://tukaani.org/xz/"
|
||||||
|
module-license ""
|
||||||
|
module-maintainer "Achim Gsell <achim.gsell@psi.ch>"
|
||||||
|
|
||||||
|
module-help "
|
||||||
|
XZ Utils is free general-purpose data compression software with a 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.
|
||||||
|
|
||||||
|
The core of the XZ Utils compression code is based on LZMA SDK, but it
|
||||||
|
has been modified quite a lot to be suitable for XZ Utils. The primary
|
||||||
|
compression algorithm is currently LZMA2, which is used inside the .xz
|
||||||
|
container format. With typical files, XZ Utils create 30 % smaller
|
||||||
|
output than gzip and 15 % smaller output than bzip2.
|
||||||
|
|
||||||
|
XZ Utils consist of several components:
|
||||||
|
* liblzma is a compression library with an API similar to that of zlib.
|
||||||
|
* xz is a command line tool with syntax similar to that of gzip.
|
||||||
|
* xzdec is a decompression-only tool smaller than the full-featured xz
|
||||||
|
tool.
|
||||||
|
* A set of shell scripts (xzgrep, xzdiff, etc.) have been adapted from
|
||||||
|
gzip to ease viewing, grepping, and comparing compressed files.
|
||||||
|
* Emulation of command line tools of LZMA Utils eases transition from
|
||||||
|
LZMA Utils to XZ Utils.
|
||||||
|
|
||||||
|
While liblzma has a zlib-like API, liblzma doesn't include any file I/O
|
||||||
|
functions. A separate I/O library is planned, which would abstract
|
||||||
|
handling of .gz, .bz2, and .xz files with an easy to use API.
|
||||||
|
"
|
||||||
|
|
||||||
Reference in New Issue
Block a user