0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-12-15 05:09:55 +00:00
2024-03-21 14:08:44 +01:00

22 lines
695 B
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
PKG_NAME="yajl"
PKG_VERSION="2.1.0"
PKG_SHA256="3fb73364a5a30efe615046d07e6db9d09fd2b41c763c5f7d3bfb121cd5c5ac5a"
PKG_LICENSE="ISC"
PKG_SITE="https://github.com/lloyd/yajl"
PKG_URL="https://github.com/lloyd/yajl/archive/refs/tags/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="A small event-driven (SAX-style) JSON parser."
PKG_CMAKE_OPTS_TARGET="-Wno-dev"
post_makeinstall_target() {
mv ${SYSROOT_PREFIX}/usr/lib/libyajl_s.a ${SYSROOT_PREFIX}/usr/lib/libyajl.a
rm ${SYSROOT_PREFIX}/usr/lib/libyajl.so*
rm -rf ${INSTALL}/usr/bin
rm -rf ${INSTALL}/usr/lib
}