diff options
author | wiz <wiz@pkgsrc.org> | 2005-03-04 12:05:12 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-03-04 12:05:12 +0000 |
commit | f454d6899a6f33ea35701a4dfab2679b02c98798 (patch) | |
tree | 4b1c21fffd36073eb1f8edfd41c4c76de2e746d8 /emulators/ROMBuild | |
parent | bb237e1daa2d293f24e58faa6f107ec5ffa66742 (diff) | |
download | pkgsrc-f454d6899a6f33ea35701a4dfab2679b02c98798.tar.gz |
Add some ROM-, mostly arcade-(MAME-)related tools from www.logiqx.com.
Diffstat (limited to 'emulators/ROMBuild')
-rw-r--r-- | emulators/ROMBuild/DESCR | 12 | ||||
-rw-r--r-- | emulators/ROMBuild/Makefile | 30 | ||||
-rw-r--r-- | emulators/ROMBuild/PLIST | 4 | ||||
-rw-r--r-- | emulators/ROMBuild/distinfo | 8 | ||||
-rw-r--r-- | emulators/ROMBuild/patches/patch-aa | 47 | ||||
-rw-r--r-- | emulators/ROMBuild/patches/patch-ab | 21 | ||||
-rw-r--r-- | emulators/ROMBuild/patches/patch-ac | 13 |
7 files changed, 135 insertions, 0 deletions
diff --git a/emulators/ROMBuild/DESCR b/emulators/ROMBuild/DESCR new file mode 100644 index 00000000000..249a8c5389d --- /dev/null +++ b/emulators/ROMBuild/DESCR @@ -0,0 +1,12 @@ +ROMBuild is a ROM manipulation tool that is capable of creating +ROMs for the older arcade emus using MAME ones. An example of this +is by splitting ROMs in two or joining two together but ROMBuild +supports much more than this. It can can split, join, extract, +fill, patch, pad, interleave etc but to you the user that doesn't +really matter. The important thing is that MAME ROMs go in and ROMs +for another emulator come out. :) + +When used in conjunction with the CMPro/ROMCenter dats that I have +produced you can generate ROM sets for practically any emulator +from MAME ROMs. In fact, the only ROMs you can't generate from MAME +sets are where MAME doesn't support the game. diff --git a/emulators/ROMBuild/Makefile b/emulators/ROMBuild/Makefile new file mode 100644 index 00000000000..5c89581ec4e --- /dev/null +++ b/emulators/ROMBuild/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $ +# + +DISTNAME= rbuild25 +PKGNAME= ROMBuild-2.5 +CATEGORIES= emulation +MASTER_SITES= http://www.logiqx.com/Tools/ROMBuild/ +EXTRACT_SUFX= .zip + +MAINTAINER= wiz@NetBSD.org +HOMEPAGE= http://www.logiqx.com/Tools/ROMBuild/ROMBuild.shtml +COMMENT= Arcade ROM manipulation tool + +USE_BUILDLINK3= YES +USE_GNU_TOOLS+= make +WRKSRC= ${WRKDIR} +MAKEFILE= makefile +BUILD_TARGET= rombuild + +post-extract: + ${MKDIR} ${WRKSRC}/obj + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/rombuild ${PREFIX}/bin + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ROMBuild + ${INSTALL_DATA} ${WRKSRC}/rombuild.txt ${PREFIX}/share/doc/ROMBuild + +.include "../../devel/zlib/buildlink3.mk" +.include "../../emulators/DatLib/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/emulators/ROMBuild/PLIST b/emulators/ROMBuild/PLIST new file mode 100644 index 00000000000..ee3b013b87a --- /dev/null +++ b/emulators/ROMBuild/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $ +bin/rombuild +share/doc/ROMBuild/rombuild.txt +@dirrm share/doc/ROMBuild diff --git a/emulators/ROMBuild/distinfo b/emulators/ROMBuild/distinfo new file mode 100644 index 00000000000..002aa8a8233 --- /dev/null +++ b/emulators/ROMBuild/distinfo @@ -0,0 +1,8 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $ + +SHA1 (rbuild25.zip) = 25042f50ad727f001bba9777811d893fdbd59e41 +RMD160 (rbuild25.zip) = 7d718c268be64223afbe21d1f91a587b01861fc5 +Size (rbuild25.zip) = 107497 bytes +SHA1 (patch-aa) = db393d4c23106875be652c9f2118fab7edf5d35f +SHA1 (patch-ab) = e14b0892737292f6ca3d0907f70bbbe25a5f2559 +SHA1 (patch-ac) = 7149cce6e51000d8f86042368b7c777b7a8200cb diff --git a/emulators/ROMBuild/patches/patch-aa b/emulators/ROMBuild/patches/patch-aa new file mode 100644 index 00000000000..ab0ccf007e2 --- /dev/null +++ b/emulators/ROMBuild/patches/patch-aa @@ -0,0 +1,47 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $ + +--- makefile.orig 2004-07-01 16:25:18.000000000 +0200 ++++ makefile +@@ -3,7 +3,7 @@ + #
+
+ NAME=rombuild
+-EXT=.exe
++EXT=
+ EXE=$(NAME)$(EXT)
+
+ SRC=src
+@@ -11,19 +11,17 @@ OBJ=obj
+
+ OBJDIRS=$(OBJ)
+
+-OBJS= $(DLOBJ)/misc/getopt.o \
+- $(DLOBJ)/mame/unzip.o \
+- $(DLOBJ)/mame/msdos/msdos.o \
+- $(OBJ)/$(NAME).o \
++OBJS= $(OBJ)/$(NAME).o \
+ $(OBJ)/rominfo.o
+
+ #
+ # Build the obj tree then build the EXE
+ #
+
+-all: dlmaketree maketree $(EXE)
++all: maketree $(EXE)
+
+-include $(LOGIQX)/dev/datlib/makefile
++DLSRC= $(PREFIX)/include/DatLib ++CFLAGS+= -I src -I $(PREFIX)/include
+
+ #
+ # Creating obj directory tree
+@@ -52,8 +50,7 @@ $(OBJ)/rominfo.o: $(SRC)/rominfo.c $(SRC +
+ $(EXE): $(OBJS)
+ @echo Linking $@...
+- $(LD) $(OBJS) $(LIBS) -o $@
+- $(UPX) $@
++ $(CC) $(OBJS) $(LIBS) -o $@ -ldatlib -lm -lz
+
+ #
+ # Complete removal of built objects
diff --git a/emulators/ROMBuild/patches/patch-ab b/emulators/ROMBuild/patches/patch-ab new file mode 100644 index 00000000000..9fef4a0a37c --- /dev/null +++ b/emulators/ROMBuild/patches/patch-ab @@ -0,0 +1,21 @@ +$NetBSD: patch-ab,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $ + +--- src/rombuild.c.orig 2005-01-30 12:19:54.000000000 +0100 ++++ src/rombuild.c +@@ -23,13 +23,13 @@ +
+ /* --- Dat library includes --- */
+
+-#include "datlib/src/macro.h"
++#include "DatLib/macro.h"
+
+
+ /* --- Misc library includes --- */
+
+-#include "datlib/src/misc/getopt.h"
+-#include "datlib/src/mame/unzip.h"
++#include "DatLib/misc/getopt.h"
++#include "DatLib/mame/unzip.h"
+
+
+ /* --- ROMBuild definitions and macros --- */
diff --git a/emulators/ROMBuild/patches/patch-ac b/emulators/ROMBuild/patches/patch-ac new file mode 100644 index 00000000000..328c5c47801 --- /dev/null +++ b/emulators/ROMBuild/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1.1.1 2005/03/04 12:05:13 wiz Exp $ + +--- src/rombuild.h.orig 2005-01-02 22:50:32.000000000 +0100 ++++ src/rombuild.h +@@ -6,7 +6,7 @@ +
+ /* --- Dat library includes --- */
+
+-#include "datlib/src/macro.h"
++#include "DatLib/macro.h"
+
+
+ /* --- Types of ROMBuild operation --- */
|