mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-22 05:46:19 +00:00
23 lines
932 B
Makefile
23 lines
932 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="libretro-beetle-wswan"
|
|
PKG_VERSION="02d63086bc5ee2a508ace0a2f65154e6ff496772"
|
|
PKG_SHA256="e26bb695b942bc2ae847f6ab39e9f3f5164ba68732cb895539f541e099fd54bd"
|
|
PKG_LICENSE="GPLv2"
|
|
PKG_SITE="https://github.com/libretro/beetle-wswan-libretro"
|
|
PKG_URL="https://github.com/libretro/beetle-wswan-libretro/archive/${PKG_VERSION}.tar.gz"
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
PKG_LONGDESC="libretro implementation of Mednafen wswan"
|
|
PKG_TOOLCHAIN="make"
|
|
|
|
PKG_LIBNAME="mednafen_wswan_libretro.so"
|
|
PKG_LIBPATH="${PKG_LIBNAME}"
|
|
PKG_LIBVAR="BEETLE-WSWAN_LIB"
|
|
|
|
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
|
|
}
|