Files
LibreELEC.tv/packages/compress/xz/package.mk
Rudi Heitbaum a013d9a2dc xz: update to 5.6.0
release notes:
- https://github.com/tukaani-project/xz/releases/tag/v5.6.0

license updated to 0BSD
2024-02-28 09:31:44 +00:00

33 lines
1.2 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="xz"
PKG_VERSION="5.6.0"
PKG_SHA256="cdafe1632f139c82937cc1ed824f7a60b7b0a0619dfbbd681dcac02b1ac28f5b"
PKG_LICENSE="0BSD"
PKG_SITE="https://tukaani.org/xz/"
PKG_URL="https://github.com/tukaani-project/xz/releases/download/v${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_HOST="ccache:host"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="A free general-purpose data compression software with high compression ratio."
PKG_BUILD_FLAGS="+pic +pic:host"
PKG_TOOLCHAIN="configure"
# never build shared or k0p happens when building
# on fedora due to host selinux/liblzma
PKG_CONFIGURE_OPTS_HOST="--disable-shared --enable-static \
--disable-lzmadec \
--disable-lzmainfo \
--enable-lzma-links \
--disable-nls \
--disable-scripts \
--enable-symbol-versions=no"
PKG_CONFIGURE_OPTS_TARGET="--disable-shared --enable-static \
--enable-symbol-versions=no"
post_makeinstall_target() {
rm -rf ${INSTALL}
}