mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-01-18 21:52:08 +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="2ad7dd1a7980c808fffc9843d6e8bbf3b0112b2a"
|
|
PKG_SHA256="845d7c60536e0323fb7169bc813f72cbc3676fbd4f82892a8229da875c3817e7"
|
|
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
|
|
}
|