distribution/packages/compress/zstd/package.mk

23 lines
738 B
Makefile
Raw Normal View History

2022-02-05 14:23:32 +00:00
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="zstd"
PKG_VERSION="1.5.2"
2022-02-05 14:23:32 +00:00
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"