1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-22 02:16:19 +00:00
Lakka-LibreELEC/packages/compress/xz/package.mk

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.4.2"
PKG_SHA256="3ee13d0f40148625306b90f9622f8c9660b8082884051b0cfe46f18492f88955"
PKG_LICENSE="GPL"
PKG_SITE="https://tukaani.org/xz/"
PKG_URL="https://tukaani.org/xz/${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}
}