28 lines
997 B
Bash
28 lines
997 B
Bash
#!/bin/sh
|
|
name="xz"
|
|
short_desc="The XZ utilities"
|
|
desc="XZ Utils provide a general-purpose data-compression library plus
|
|
command-line tools. The native file format is the .xz format, but
|
|
also the legacy .lzma format is supported. The .xz format supports
|
|
multiple compression algorithms, which are called "filters" in the
|
|
context of XZ Utils. The primary filter is currently LZMA2. With
|
|
typical files, XZ Utils create about 30 % smaller files than gzip."
|
|
category="archivers"
|
|
version="5.4.5"
|
|
maintainer="ffqq@danwin1210.de"
|
|
www="https://tukaani.org/xz/"
|
|
master_site="https://tukaani.org/xz"
|
|
source_name="$name-$version.tar.gz"
|
|
license_logic="and" # accepted values: single, and, or
|
|
licenses=("xz" "GPLv3" "GPLv2" "LGPL2")
|
|
|
|
build_dependencies=("lang/gcc" "devel/gmake")
|
|
run_dependencies=("system/glibc")
|
|
|
|
build_process() {
|
|
cd $name-$version || exit 1
|
|
./configure --prefix=/usr \
|
|
--disable-static || exit 1
|
|
make -j$(nproc)
|
|
make DESTDIR="$TAMANDUA_STAGE_DIR" install
|
|
} |