mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-22 06:56:19 +00:00
26 lines
1013 B
Makefile
26 lines
1013 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="libretro-prboom"
|
|
PKG_VERSION="47a95e921e9f1e5928730b7369d14129769fa475"
|
|
PKG_SHA256="9ff3068ed16ff07b25e5229942eed805dccadeac0fef19331ce45206e4012ab0"
|
|
PKG_LICENSE="GPLv2"
|
|
PKG_SITE="https://github.com/libretro/libretro-prboom"
|
|
PKG_URL="https://github.com/libretro/libretro-prboom/archive/${PKG_VERSION}.tar.gz"
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
PKG_LONGDESC="libretro implementation of Doom"
|
|
PKG_TOOLCHAIN="make"
|
|
|
|
PKG_LIBNAME="prboom_libretro.so"
|
|
PKG_LIBPATH="${PKG_LIBNAME}"
|
|
PKG_LIBVAR="PRBOOM_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
|
|
|
|
mkdir -p ${SYSROOT_PREFIX}/usr/share/retroarch/system/
|
|
cp -v prboom.wad ${SYSROOT_PREFIX}/usr/share/retroarch/system/
|
|
}
|