mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
22 lines
792 B
Makefile
22 lines
792 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="libarchive"
|
|
PKG_VERSION="3.3.3"
|
|
PKG_SHA256="ba7eb1781c9fbbae178c4c6bad1c6eb08edab9a1496c64833d1715d022b30e2e"
|
|
PKG_LICENSE="GPL"
|
|
PKG_SITE="https://www.libarchive.org"
|
|
PKG_URL="https://www.libarchive.org/downloads/$PKG_NAME-$PKG_VERSION.tar.gz"
|
|
PKG_DEPENDS_HOST="toolchain"
|
|
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"
|
|
|
|
post_makeinstall_target() {
|
|
rm -rf $INSTALL
|
|
|
|
# delete the shared library as we only want static
|
|
rm $SYSROOT_PREFIX/usr/lib/libarchive.so*
|
|
}
|