forked from libretro/Lakka-LibreELEC
23 lines
675 B
Makefile
23 lines
675 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="lz4"
|
|
PKG_VERSION="1.9.4"
|
|
PKG_SHA256="0b0e3aa07c8c063ddf40b082bdf7e37a1562bda40a0ff5272957f3e987e0e54b"
|
|
PKG_LICENSE="GPL"
|
|
PKG_SITE="https://github.com/lz4/lz4"
|
|
PKG_URL="https://github.com/lz4/lz4/archive/v${PKG_VERSION}.tar.gz"
|
|
PKG_DEPENDS_HOST="toolchain:host"
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
PKG_LONGDESC="lz4 data compressor/decompressor"
|
|
|
|
configure_package() {
|
|
PKG_CMAKE_SCRIPT="${PKG_BUILD}/build/cmake/CMakeLists.txt"
|
|
|
|
PKG_CMAKE_OPTS_TARGET="-DBUILD_SHARED_LIBS=0 -DCMAKE_POSITION_INDEPENDENT_CODE=0"
|
|
}
|
|
|
|
post_makeinstall_target() {
|
|
rm -rf ${INSTALL}
|
|
}
|