mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
pigz: new package
Co-Authored-By: CvH <1355173+CvH@users.noreply.github.com>
This commit is contained in:
parent
97ea5a2e43
commit
b89be08350
25
packages/compress/pigz/package.mk
Normal file
25
packages/compress/pigz/package.mk
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
|
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
||||||
|
|
||||||
|
PKG_NAME="pigz"
|
||||||
|
PKG_VERSION="2.4"
|
||||||
|
PKG_SHA256="e228e7d18b34c4ece8d596eb6eee97bde533c6beedbb728d07d3abe90b4b1b52"
|
||||||
|
PKG_LICENSE="Other"
|
||||||
|
PKG_SITE="https://zlib.net/pigz/"
|
||||||
|
PKG_URL="https://github.com/madler/pigz/archive/v${PKG_VERSION}.tar.gz"
|
||||||
|
PKG_DEPENDS_HOST="make:host zlib:host"
|
||||||
|
PKG_LONGDESC="a parallel implementation of the gzip file compressor"
|
||||||
|
PKG_TOOLCHAIN="manual"
|
||||||
|
|
||||||
|
make_host() {
|
||||||
|
make CPPFLAGS="${CPPFLAGS} -I${TOOLCHAIN}/include" \
|
||||||
|
LDFLAGS="${LDFLAGS}" \
|
||||||
|
CXX="${CXX}" \
|
||||||
|
CC="${CC}" \
|
||||||
|
pigz
|
||||||
|
}
|
||||||
|
|
||||||
|
makeinstall_host() {
|
||||||
|
mkdir -p $TOOLCHAIN/bin
|
||||||
|
cp pigz ${TOOLCHAIN}/bin
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user