[Lunar-commits] <moonbase> sdlmame: new game - arcade machine emulator

Paul Bredbury brebs at lunar-linux.org
Mon Jan 24 15:47:06 CET 2011


commit 81b8be7564877363b9b769b6a0629a53774175e9
Author: Paul Bredbury <brebs at lunar-linux.org>
Date:   Mon Jan 24 21:47:06 2011 +0700

    sdlmame: new game - arcade machine emulator
---
 zbeta/sdlmame/BUILD     |   15 +++++++++++++++
 zbeta/sdlmame/DEPENDS   |    3 +++
 zbeta/sdlmame/DETAILS   |   22 ++++++++++++++++++++++
 zbeta/sdlmame/PRE_BUILD |    5 +++++
 4 files changed, 45 insertions(+), 0 deletions(-)

diff --git a/zbeta/sdlmame/BUILD b/zbeta/sdlmame/BUILD
new file mode 100644
index 0000000..bdbd3f8
--- /dev/null
+++ b/zbeta/sdlmame/BUILD
@@ -0,0 +1,15 @@
+(
+
+  make I686=1 &&
+
+  prepare_install &&
+
+  install -m755 mame /usr/games/sdlmame &&
+
+  # Docs
+  mv docs/* . &&
+  rmdir docs &&
+  rm -f windows.txt &&
+  gather_docs *.txt
+
+) > $C_FIFO 2>&1
diff --git a/zbeta/sdlmame/DEPENDS b/zbeta/sdlmame/DEPENDS
new file mode 100644
index 0000000..40df7d0
--- /dev/null
+++ b/zbeta/sdlmame/DEPENDS
@@ -0,0 +1,3 @@
+depends unzip
+depends nasm
+depends SDL_ttf
diff --git a/zbeta/sdlmame/DETAILS b/zbeta/sdlmame/DETAILS
new file mode 100644
index 0000000..3025724
--- /dev/null
+++ b/zbeta/sdlmame/DETAILS
@@ -0,0 +1,22 @@
+          MODULE=sdlmame
+         VERSION=0141
+          SOURCE=mame${VERSION}s.zip
+      # wget is banned from the homepage, so use a mirror
+      #SOURCE_URL=http://mamedev.org/downloader.php?file=releases/
+   SOURCE_URL[0]=http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/distfiles
+   SOURCE_URL[1]=ftp://gentoo.arcticnetwork.ca/pub/gentoo/distfiles
+   SOURCE_URL[2]=http://mirror.internode.on.net/pub/gentoo/distfiles
+      SOURCE_VFY=sha1:80225e2694469dac39a75815f227b864a4992f5e
+        WEB_SITE=http://mamedev.org/
+         ENTERED=20110122
+         UPDATED=20110122
+           SHORT="Multiple Arcade Machine Emulator using SDL with OpenGL support"
+
+cat << EOF
+MAME stands for Multiple Arcade Machine Emulator. When used in
+conjunction with images of the original arcade game's ROM and disk
+data, MAME attempts to reproduce that game as faithfully as possible on
+a more modern general-purpose computer. MAME can currently emulate
+several thousand different classic arcade video games, from the late
+1970s through to the modern era.
+EOF
diff --git a/zbeta/sdlmame/PRE_BUILD b/zbeta/sdlmame/PRE_BUILD
new file mode 100644
index 0000000..ba6a645
--- /dev/null
+++ b/zbeta/sdlmame/PRE_BUILD
@@ -0,0 +1,5 @@
+validate_source_dir $SOURCE_DIRECTORY &&
+mk_source_dir $SOURCE_DIRECTORY &&
+cd $SOURCE_DIRECTORY &&
+unpack $SOURCE &&
+unzip mame.zip


More information about the Lunar-commits mailing list