mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-22 02:16:19 +00:00
25 lines
970 B
Makefile
25 lines
970 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="libretro-vbam"
|
|
PKG_VERSION="928a61704f6636d5e24f0a73374d360fe546cb5a"
|
|
PKG_SHA256="0c3bf3a05b6fedee8b5b9830344c03e275359c560bfac5a16bcb3e048d96dd50"
|
|
PKG_LICENSE="GPLv2"
|
|
PKG_SITE="https://github.com/visualboyadvance-m/visualboyadvance-m"
|
|
PKG_URL="https://github.com/visualboyadvance-m/visualboyadvance-m/archive/${PKG_VERSION}.tar.gz"
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
PKG_LONGDESC="VBA-M with libretro integration"
|
|
PKG_TOOLCHAIN="make"
|
|
|
|
PKG_LIBNAME="vbam_libretro.so"
|
|
PKG_LIBPATH="../src/libretro/${PKG_LIBNAME}"
|
|
PKG_LIBVAR="VBAM_LIB"
|
|
|
|
PKG_MAKE_OPTS_TARGET="-C ../src/libretro/"
|
|
|
|
makeinstall_target() {
|
|
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
|
|
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}
|
|
echo "set(${PKG_LIBVAR} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME})" > ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}/${PKG_NAME}-config.cmake
|
|
}
|