2023-03-17 21:06:43 +00:00
PKG_NAME = "picodrive-lr"
2024-01-09 12:49:41 +00:00
PKG_VERSION = "019421c9a1d70cc7d30ae4bfa60a79660a0e2bcd"
2022-02-05 14:23:32 +00:00
PKG_LICENSE = "MAME"
PKG_SITE = "https://github.com/libretro/picodrive"
2022-04-04 10:41:56 +00:00
PKG_URL = " ${ PKG_SITE } .git "
2022-02-05 14:23:32 +00:00
PKG_DEPENDS_TARGET = "toolchain"
PKG_PRIORITY = "optional"
PKG_SECTION = "libretro"
PKG_SHORTDESC = "Libretro implementation of PicoDrive. (Sega Megadrive/Genesis/Sega Master System/Sega GameGear/Sega CD/32X)"
2023-04-15 09:30:02 +00:00
PKG_LONGDESC = "This is yet another Megadrive / Genesis / Sega CD / Mega CD / 32X / SMS emulator, which was written having ARM-based AMD64 devices in mind (such as smartphones and AMD64 consoles like GP2X and Pandora), but also runs on non-ARM little-endian hardware too."
2022-02-05 14:23:32 +00:00
GET_HANDLER_SUPPORT = "git"
PKG_BUILD_FLAGS = "-gold"
PKG_TOOLCHAIN = "make"
PKG_IS_ADDON = "no"
PKG_AUTORECONF = "no"
PKG_PATCH_DIRS = " ${ PROJECT } "
2022-04-04 10:24:22 +00:00
c o n f i g u r e _ t a r g e t ( ) {
:
}
2022-02-05 14:23:32 +00:00
2022-04-04 10:24:22 +00:00
m a k e _ t a r g e t ( ) {
2022-04-04 10:41:56 +00:00
cd ${ PKG_BUILD }
# ${PKG_BUILD}/configure --platform=generic
2022-04-04 10:24:22 +00:00
make -f Makefile.libretro
2022-02-05 14:23:32 +00:00
}
2022-04-03 18:26:02 +00:00
2022-04-04 10:24:22 +00:00
m a k e i n s t a l l _ t a r g e t ( ) {
2022-04-04 10:41:56 +00:00
mkdir -p ${ INSTALL } /usr/lib/libretro
cp ${ PKG_BUILD } /picodrive_libretro.so ${ INSTALL } /usr/lib/libretro/
2022-04-04 10:24:22 +00:00
}