2019-09-23 21:49:55 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.zlib.net/pigz
|
|
|
|
TERMUX_PKG_DESCRIPTION="Parallel implementation of the gzip file compressor"
|
|
|
|
TERMUX_PKG_LICENSE="ZLIB"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-02-07 20:06:35 +01:00
|
|
|
TERMUX_PKG_VERSION=2.6
|
2019-09-23 21:49:55 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://www.zlib.net/pigz/pigz-$TERMUX_PKG_VERSION.tar.gz
|
2021-02-07 20:06:35 +01:00
|
|
|
TERMUX_PKG_SHA256=2eed7b0d7449d1d70903f2a62cd6005d262eb3a8c9e98687bc8cbb5809db2a7d
|
2019-09-23 21:49:55 +02:00
|
|
|
TERMUX_PKG_DEPENDS="zlib"
|
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
|
|
|
|
termux_step_make_install() {
|
|
|
|
install -Dm700 pigz $TERMUX_PREFIX/bin/pigz
|
|
|
|
ln -sfr $TERMUX_PREFIX/bin/pigz $TERMUX_PREFIX/bin/unpigz
|
|
|
|
install -Dm600 pigz.1 $TERMUX_PREFIX/share/man/man1/pigz.1
|
|
|
|
}
|