aboutsummaryrefslogtreecommitdiffstats
path: root/nonworking/xmame/xmame_0.78.1.oe
diff options
context:
space:
mode:
Diffstat (limited to 'nonworking/xmame/xmame_0.78.1.oe')
-rw-r--r--nonworking/xmame/xmame_0.78.1.oe21
1 files changed, 21 insertions, 0 deletions
diff --git a/nonworking/xmame/xmame_0.78.1.oe b/nonworking/xmame/xmame_0.78.1.oe
index e69de29bb2..a0965012da 100644
--- a/nonworking/xmame/xmame_0.78.1.oe
+++ b/nonworking/xmame/xmame_0.78.1.oe
@@ -0,0 +1,21 @@
+DESCRIPTION="Multiple Arcade Machine Emulator based on SDL"
+SECTION="base"
+PRIORITY="optional"
+RDEPENDS="libc6 libsdl-qpe libsdl-mixer"
+DEPENDS=libsdl-qpe libsdl-mixer
+
+SRC_URI = http://x.mame.net/download/${P}.tar.bz2 \
+ file://${FILESDIR}/crosscompile.patch;patch=1
+
+EXTRA_OEMAKE=
+
+do_compile() {
+ oe_runmake TARGET=mame JOY_SDL=1 SOUND_SDL=1 DISPLAY_METHOD=SDL \
+ CC="${CC}" CXX="${CXX}" CFLAGS="-I. -Isrc -Isrc/include -Isrc/unix ${CFLAGS}" \
+ CXXFLAGS="${CXXFLAGS}" LD="${CC}" LDFLAGS="${LDFLAGS}" \
+ RANLIB="${RANLIB}" MY_CPU="${TARGET_ARCH}" ARCH="${TARGET_OS}" \
+ GLLIBS="" STRIP="${STRIP}" AR="${AR}"
+}
+
+
+