distribution/packages/compress/zstd/package.mk
2022-02-05 09:23:32 -05:00

23 lines
No EOL
815 B
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="zstd"
PKG_VERSION="1.5.0"
PKG_SHA256="5194fbfa781fcf45b98c5e849651aa7b3b0a008c6b72d4a0db760f3002291e94"
PKG_LICENSE="BSD/GPLv2"
PKG_SITE="http://www.zstd.net"
PKG_URL="https://github.com/facebook/zstd/releases/download/v${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_HOST="ccache:host ninja:host"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="A fast real-time compression algorithm."
PKG_TOOLCHAIN="meson"
configure_package() {
PKG_MESON_SCRIPT="${PKG_BUILD}/build/meson/meson.build"
}
PKG_MESON_OPTS_HOST="-Dlegacy_level=0 \
-Dbin_programs=false \
-Dzlib=disabled \
-Dlzma=disabled \
-Dlz4=disabled"