libretro-common: initial package

This is a dependency of newer game.libretro versions

Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
Matthias Reichl 2022-11-11 12:22:41 +01:00
parent 898996e762
commit 4c5b778415

View File

@ -0,0 +1,16 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2022-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libretro-common"
PKG_VERSION="50c15a88eb741cbe675743a282d8cc4c89421e3f"
PKG_SHA256="042986fad22dc37188df7a186d17a258edfe8e552353f9b509a47418e8dfa623"
PKG_LICENSE="Public domain"
PKG_SITE="https://github.com/libretro/libretro-common"
PKG_URL="https://github.com/libretro/libretro-common/archive/${PKG_VERSION}.tar.gz"
PKG_LONGDESC="Reusable coding blocks useful for libretro core and frontend development"
PKG_TOOLCHAIN="manual"
makeinstall_target() {
mkdir -p "${SYSROOT_PREFIX}/usr/include/${PKG_NAME}"
cp -pR ${PKG_BUILD}/include/* "${SYSROOT_PREFIX}/usr/include/${PKG_NAME}/"
}