distribution/packages/emulators/libretro/neocd_lr/package.mk

30 lines
1.1 KiB
Makefile
Raw Normal View History

2022-02-05 14:23:32 +00:00
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2019-present Team CoreELEC (https://coreelec.org)
2023-03-17 21:06:43 +00:00
PKG_NAME="neocd_lr"
2023-03-01 23:15:40 +00:00
PKG_VERSION="2070f5258c9d3feee15962f9db8c8ef20072ece8"
2022-02-05 14:23:32 +00:00
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="LGPLv3.0"
PKG_SITE="https://github.com/libretro/neocd_libretro"
2023-02-24 13:53:43 +00:00
PKG_URL="${PKG_SITE}.git"
2022-02-05 14:23:32 +00:00
PKG_DEPENDS_TARGET="toolchain flac libogg libvorbis"
PKG_PRIORITY="optional"
PKG_SECTION="libretro"
PKG_SHORTDESC="Neo Geo CD emulator for libretro "
PKG_LONGDESC="NeoCD-Libretro is a complete rewrite of NeoCD from scratch in modern C++11. It is designed with accuracy and portability in mind rather than being all about speed like the the older versions. The goal is also to document all I know about the platform in the source code so other emulator authors can make their own implementations."
PKG_IS_ADDON="no"
PKG_TOOLCHAIN="make"
PKG_AUTORECONF="no"
GET_HANDLER_SUPPORT="git"
make_target() {
2023-02-24 13:53:43 +00:00
cd ${PKG_BUILD}
2023-02-27 02:56:16 +00:00
CFLAGS=${CFLAGS} CXXFLAGS="${CXXFLAGS}" CXX="${CXX}" CC="${CC}" LD="$LD" RANLIB="$RANLIB" AR="${AR}" make
2022-02-05 14:23:32 +00:00
}
makeinstall_target() {
2023-02-24 13:53:43 +00:00
mkdir -p ${INSTALL}/usr/lib/libretro
cp ${PKG_BUILD}/neocd_libretro.so ${INSTALL}/usr/lib/libretro/
2022-02-05 14:23:32 +00:00
}