I don't have time to package this. I'm attaching my diff file hoping that it's useful. upstream sources need to be in a source/ directory inside the orig tarball.
Regards, --- generator-0.33.orig/debian/changelog +++ generator-0.33/debian/changelog @@ -0,0 +1,9 @@ +generator (0.33-1) unstable; urgency=low + + * Initial Release. (Closes #115726) + + -- Robert Millan <[EMAIL PROTECTED]> Mon, 15 Oct 2001 22:51:54 +0200 + +Local variables: +mode: debian-changelog +End: --- generator-0.33.orig/debian/dirs +++ generator-0.33/debian/dirs @@ -0,0 +1,2 @@ +usr/bin + --- generator-0.33.orig/debian/copyright +++ generator-0.33/debian/copyright @@ -0,0 +1,21 @@ +This package was debianized by Robert Millan <[EMAIL PROTECTED]> on +Mon, 15 Oct 2001 22:51:54 +0200. + +It was downloaded from http://www.squish.net/generator/ + +Upstream Authors: + +Generator was written by James Ponder <[EMAIL PROTECTED]> + +YM2612 chip emulation by Tatsuyuki Satoh +RAZE Z80 core, by Richard Mitton ([EMAIL PROTECTED]) +SN76496 by Nicola Salmoria et al + +Copyright: + +This software is copyright (C) 1998 by James Ponder + +You are free to distribute this software under the terms of +the GNU General Public License. +On Debian systems, the complete text of the GNU General Public +License can be found in /usr/share/common-licenses/GPL file. --- generator-0.33.orig/debian/control +++ generator-0.33/debian/control @@ -0,0 +1,28 @@ +Source: generator +Section: games +Priority: extra +Maintainer: unknown <[EMAIL PROTECTED]> +Build-Depends: debhelper (>> 3.0.0), liballegro-dev, nasm +Standards-Version: 3.5.2 + +Package: generator +Architecture: any +Depends: ${shlibs:Depends}, liballegro3.9.38 +Description: Sega Genesis / Megadrive console emulator + Generator is a free emulator designed to emulate the Sega Genesis / Mega Drive + console, a popular games machine produced in the early 1990s. It is a portable + program written in C and has been ported to the Amiga, Macintosh and Windows, + as well as running on it's native Unix in X Windows, under svgalib and in DOS. + . + Generator uses it's own custom 68000 processor emulation which is designed for + dynamic recompilation, and uses techniques from this such as block-marking, + flag calculation removal, operand pre-calculation, endian pre-conversion etc. + There are approximately 1600 C routines generated by the first stage of + compilation to cope with the 67 instruction families. These routines are used + as a 'backup' when dynamic recompilation isn't supported on your platform or + the recompiler doesn't support a particular instruction. The CPU engine is by + all accounts very fast, whatever the mode. + . + Generator was first released in August 1998, although my first attempt at + writing a Sega Genesis / Mega Drive emulator dates back to 1996. + --- generator-0.33.orig/debian/rules +++ generator-0.33/debian/rules @@ -0,0 +1,86 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatability version to use. +export DH_COMPAT=3 + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + cp -a $(CURDIR)/source/* $(CURDIR)/ + ./configure --enable-allegro --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + # --with-gcc=3 + + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #/usr/bin/docbook-to-man debian/generator.sgml > generator.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + find $(CURDIR)/* ! -name debian ! -name source -maxdepth 0 | \ + xargs rm -rf + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/generator. + $(MAKE) install prefix=$(CURDIR)/debian/generator + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs + dh_installexamples + dh_installmenu +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit + dh_installcron + dh_installman + dh_installinfo +# dh_undocumented + dh_installchangelogs ChangeLog + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_makeshlibs + dh_installdeb +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- generator-0.33.orig/debian/docs +++ generator-0.33/debian/docs @@ -0,0 +1,4 @@ +sources/INSTALL +sources/NEWS +sources/README +sources/TODO