0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-01-05 23:17:57 +00:00
2024-04-08 12:40:05 +00:00

29 lines
998 B
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libarchive"
PKG_VERSION="3.7.3"
PKG_SHA256="63e7a7174638fc7d6b79b4c8b0ad954e0f4f45abe7239c1ecb200232aa9a43d2"
PKG_LICENSE="GPL"
PKG_SITE="https://www.libarchive.org"
PKG_URL="https://www.libarchive.org/downloads/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_HOST="toolchain:host"
PKG_DEPENDS_TARGET="toolchain"
PKG_SHORTDESC="A multi-format archive and compression library."
PKG_CMAKE_OPTS_TARGET="-DCMAKE_POSITION_INDEPENDENT_CODE=1 \
-DENABLE_EXPAT=0 \
-DENABLE_ICONV=0 \
-DENABLE_LIBXML2=0 \
-DENABLE_LZO=1 \
-DENABLE_TEST=0 \
-DENABLE_COVERAGE=0 \
-DENABLE_WERROR=0"
post_makeinstall_target() {
rm -rf ${INSTALL}
# delete the shared library as we only want static
rm ${SYSROOT_PREFIX}/usr/lib/libarchive.so*
}