summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorjmcneill <jmcneill>2015-02-04 22:58:13 +0000
committerjmcneill <jmcneill>2015-02-04 22:58:13 +0000
commitb097669a010da52a910b92f921bc86e5ceec5f40 (patch)
treed4b6deb095e51543140c849f7c8fd6c90ae35301 /emulators
parent04425afae2188b4e4eff9d743c4f32d070aa3e07 (diff)
downloadpkgsrc-b097669a010da52a910b92f921bc86e5ceec5f40.tar.gz
Import libretro-picodrive-20150203 as emulators/libretro-picodrive.
Libretro is a simple but powerful development interface that allows for the easy creation of emulators, games and multimedia applications that can plug straight into any libretro-compatible frontend. This development interface is open to others so that they can run these pluggable emulator and game cores also in their own programs or devices. PicoDrive is a Sega 8/16 bit video game system emulator.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/libretro-picodrive/DESCR7
-rw-r--r--emulators/libretro-picodrive/Makefile31
-rw-r--r--emulators/libretro-picodrive/PLIST2
-rw-r--r--emulators/libretro-picodrive/distinfo5
4 files changed, 45 insertions, 0 deletions
diff --git a/emulators/libretro-picodrive/DESCR b/emulators/libretro-picodrive/DESCR
new file mode 100644
index 00000000000..abdd8f4b612
--- /dev/null
+++ b/emulators/libretro-picodrive/DESCR
@@ -0,0 +1,7 @@
+Libretro is a simple but powerful development interface that allows for the
+easy creation of emulators, games and multimedia applications that can plug
+straight into any libretro-compatible frontend. This development interface is
+open to others so that they can run these pluggable emulator and game cores
+also in their own programs or devices.
+
+PicoDrive is a Sega 8/16 bit video game system emulator.
diff --git a/emulators/libretro-picodrive/Makefile b/emulators/libretro-picodrive/Makefile
new file mode 100644
index 00000000000..b1e9e2a6fd2
--- /dev/null
+++ b/emulators/libretro-picodrive/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1 2015/02/04 22:58:13 jmcneill Exp $
+
+DISTNAME= picodrive-libretro-20150203
+PKGNAME= libretro-picodrive-20150203
+CATEGORIES= emulators
+MASTER_SITES= http://ftp.netbsd.org/pub/NetBSD/misc/jmcneill/retroarch/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/libretro/picodrive
+COMMENT= Fast MegaDrive/MegaCD/32X emulator
+LICENSE= picodrive-license
+
+WRKSRC= ${WRKDIR}/picodrive
+MAKE_FILE= Makefile.libretro
+USE_TOOLS+= gmake
+
+.if !empty(MACHINE_ARCH:M*armv6*)
+MAKE_ENV+= HAVE_ARMV6=1
+.endif
+.if !empty(MACHINE_ARCH:M*armv7*)
+MAKE_ENV+= HAVE_ARMV7=1
+.endif
+
+INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
+
+do-install:
+ ${INSTALL_LIB} ${WRKSRC}/picodrive_libretro.so \
+ ${DESTDIR}${PREFIX}/lib/libretro/picodrive_libretro.so
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/libretro-picodrive/PLIST b/emulators/libretro-picodrive/PLIST
new file mode 100644
index 00000000000..1b3ce77510f
--- /dev/null
+++ b/emulators/libretro-picodrive/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2015/02/04 22:58:13 jmcneill Exp $
+lib/libretro/picodrive_libretro.so
diff --git a/emulators/libretro-picodrive/distinfo b/emulators/libretro-picodrive/distinfo
new file mode 100644
index 00000000000..529428e7d15
--- /dev/null
+++ b/emulators/libretro-picodrive/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/02/04 22:58:13 jmcneill Exp $
+
+SHA1 (picodrive-libretro-20150203.zip) = 4be392f3b5a0f3c8b8fbd3fbdb31301bc0c4ee4e
+RMD160 (picodrive-libretro-20150203.zip) = 98401b5992a38dceaa5f6e90f168969bdb0d8baf
+Size (picodrive-libretro-20150203.zip) = 1681676 bytes