diff options
author | Daniel Black <dragonheart@gentoo.org> | 2004-03-29 08:16:51 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2004-03-29 08:16:51 +0000 |
commit | cc6b96403a77050e084281cded1cc828c0046ff7 (patch) | |
tree | 3e03d069abe4fb584cd403d3420437fdbff73f96 | |
parent | Adding blocker on virtual/x11. Only one should be installed at a time. (Manif... (diff) | |
download | gentoo-2-cc6b96403a77050e084281cded1cc828c0046ff7.tar.gz gentoo-2-cc6b96403a77050e084281cded1cc828c0046ff7.tar.bz2 gentoo-2-cc6b96403a77050e084281cded1cc828c0046ff7.zip |
Initial commit. Based loosely off Christian Steineck <memphis@machzwo.de> bug #45656. Thanks for the submission
-rw-r--r-- | app-emulation/i8086emu/ChangeLog | 11 | ||||
-rw-r--r-- | app-emulation/i8086emu/Manifest | 2 | ||||
-rw-r--r-- | app-emulation/i8086emu/files/digest-i8086emu-0.9.1 | 1 | ||||
-rw-r--r-- | app-emulation/i8086emu/files/i8086emu-0.9.1.patch | 113 | ||||
-rw-r--r-- | app-emulation/i8086emu/i8086emu-0.9.1.ebuild | 54 | ||||
-rw-r--r-- | app-emulation/i8086emu/metadata.xml | 10 |
6 files changed, 191 insertions, 0 deletions
diff --git a/app-emulation/i8086emu/ChangeLog b/app-emulation/i8086emu/ChangeLog new file mode 100644 index 000000000000..50c454fe19cd --- /dev/null +++ b/app-emulation/i8086emu/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for app-emulation/i8086emu +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/i8086emu/ChangeLog,v 1.1 2004/03/29 08:16:51 dragonheart Exp $ + +*i8086emu-0.9.1 (29 Mar 2004) + + 29 Mar 2004; Daniel Black <dragonheart@gentoo.org> i8086emu-0.9.1.ebuild, + metadata.xml, files/i8086emu-0.9.1.patch: + Initial commit. Based loosely off Christian Steineck <memphis@machzwo.de> bug + #45656. Thanks for the submission + diff --git a/app-emulation/i8086emu/Manifest b/app-emulation/i8086emu/Manifest new file mode 100644 index 000000000000..9d7ff9b0a164 --- /dev/null +++ b/app-emulation/i8086emu/Manifest @@ -0,0 +1,2 @@ +MD5 c17a15d025a2bcd84f776446d55e6b98 i8086emu-0.9.1.ebuild 1061 +MD5 f4171beed18f6616f7f66a9bd5ee8972 files/digest-i8086emu-0.9.1 71 diff --git a/app-emulation/i8086emu/files/digest-i8086emu-0.9.1 b/app-emulation/i8086emu/files/digest-i8086emu-0.9.1 new file mode 100644 index 000000000000..60f57ae5c885 --- /dev/null +++ b/app-emulation/i8086emu/files/digest-i8086emu-0.9.1 @@ -0,0 +1 @@ +MD5 bf836c57fdadbb1beee50675eb18207f i8086emu-src-0.9.1.tar.bz2 172036 diff --git a/app-emulation/i8086emu/files/i8086emu-0.9.1.patch b/app-emulation/i8086emu/files/i8086emu-0.9.1.patch new file mode 100644 index 000000000000..6c7017405632 --- /dev/null +++ b/app-emulation/i8086emu/files/i8086emu-0.9.1.patch @@ -0,0 +1,113 @@ +--- i8086emu-src-0.9.1/src/Makefile.in.orig 2004-03-29 16:30:34.966349856 +0930 ++++ i8086emu-src-0.9.1/src/Makefile.in 2004-03-29 16:30:27.184532872 +0930 +@@ -7,13 +7,14 @@ + srcdir = @srcdir@ + prefix = @prefix@ + exec_prefix = @exec_prefix@ +-bindir = $(prefix)/bin +-datadir = $(prefix)/share/i8086emu +-pixdir = $(prefix)/share/pixmaps +-examplesdir = $(datadir)/examples +-infodir = $(prefix)/doc/i8086emu +-libdir = $(prefix)/lib/i8086emu +-mandir = $(prefix)/man/man1 ++bindir = @bindir@ ++datadir = @datadir@/@PACKAGE@ ++pixdir = @prefix@/share/pixmaps ++examplesdir = @datadir@/examples ++infodir = @infodir@ ++libdir = @libdir@/@PACKAGE@ ++mandir = @mandir@ ++sysconfdir= @sysconfdir@/@PACKAGE@ + INSTALL=cp + + WIN32=`if [ "$(TERM)" = "cygwin" ]; then echo "-D _WIN32"; fi;` +@@ -108,7 +109,7 @@ + gcc ${CFLAGS} -c disasm/sync.c -o disasm/sync.o + + i8086config.o: i8086config.c i8086config.h +- gcc ${CFLAGS} ${WIN32} -DDATADIR=\"$(datadir)\" -c i8086config.c ++ gcc ${CFLAGS} ${WIN32} -DDATADIR=\"$(sysconfdir)\" -c i8086config.c + + i8086devices.o: i8086devices.c i8086devices.h + gcc ${CFLAGS} -c -DVERSION_NUMBER=\"$(VERS)\" i8086devices.c +@@ -156,39 +157,45 @@ + + + install:all +- $(top_srcdir)/mkinstalldirs $(bindir) +- $(top_srcdir)/mkinstalldirs $(devicesdir) +- $(top_srcdir)/mkinstalldirs $(examplesdir) +- $(top_srcdir)/mkinstalldirs $(pixdir) +- $(top_srcdir)/mkinstalldirs $(infodir) +- $(top_srcdir)/mkinstalldirs $(libdir) +- $(INSTALL) i8086text $(bindir) +- $(INSTALL) i8086gui $(bindir) +- $(INSTALL) emu.cfg $(datadir) +- $(INSTALL) rom.bin $(datadir) +- $(INSTALL) core.dmp $(datadir) +- $(INSTALL) i8086icon.png $(pixdir) +- $(INSTALL) devices/*.so $(libdir) +- $(INSTALL) $(EMUEX) $(examplesdir) +- $(INSTALL) $(EMUDOCS) $(infodir) ++ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir) ++ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(devicesdir) ++ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(examplesdir) ++ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(pixdir) ++ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(infodir) ++ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(libdir) ++ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir) ++ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(sysconfdir) ++ $(INSTALL) i8086text $(DESTDIR)$(bindir) ++ $(INSTALL) i8086gui $(DESTDIR)$(bindir) ++ $(INSTALL) emu.cfg $(DESTDIR)$(sysconfdir) ++ $(INSTALL) rom.bin $(DESTDIR)$(datadir) ++ $(INSTALL) core.dmp $(DESTDIR)$(datadir) ++ $(INSTALL) i8086icon.png $(DESTDIR)$(pixdir) ++ $(INSTALL) devices/*.so $(DESTDIR)$(libdir) ++ $(INSTALL) $(EMUEX) $(DESTDIR)$(examplesdir) ++ $(INSTALL) $(EMUDOCS) $(DESTDIR)$(infodir) + + uninstall: +- -/bin/rm -f $(bindir)/i8086gui +- -/bin/rm -f $(bindir)/i8086text +- -/bin/rm -f $(datadir)/emu.cfg +- -/bin/rm -f $(datadir)/emu.log +- -/bin/rm -f $(datadir)/rom.bin +- -/bin/rm -f $(datadir)/core.dmp +- -/bin/rm -f $(pixdir)/i8086icon.png +- -/bin/rm -f $(libdir)/i8086*.so +- -/bin/rm -f $(examplesdir)/* +- -/bin/rm -f $(infodir)/README +- -/bin/rm -f $(infodir)/AUTHORS +- -/bin/rm -f $(infodir)/ChangeLog +- -/bin/rm -f $(infodir)/NEWS +- -/bin/rm -f $(infodir)/COPYING +- -/bin/rmdir $(examplesdir) +- -/bin/rmdir $(datadir) +- -/bin/rmdir $(libdir) +- -/bin/rmdir $(infodir) +- -/bin/rmdir $(bindir) ++ -/bin/rm -f $(DESTDIR)$(bindir)/i8086gui ++ -/bin/rm -f $(DESTDIR)$(bindir)/i8086text ++ -/bin/rm -f $(DESTDIR)$(sysconfdir)/emu.cfg ++ -/bin/rm -f $(DESTDIR)$(datadir)/emu.log ++ -/bin/rm -f $(DESTDIR)$(datadir)/rom.bin ++ -/bin/rm -f $(DESTDIR)$(datadir)/core.dmp ++ -/bin/rm -f $(DESTDIR)$(pixdir)/i8086icon.png ++ -/bin/rm -f $(DESTDIR)$(libdir)/i8086*.so ++ -/bin/rm -f $(DESTDIR)$(examplesdir)/* ++ -/bin/rm -f $(DESTDIR)$(infodir)/README ++ -/bin/rm -f $(DESTDIR)$(infodir)/AUTHORS ++ -/bin/rm -f $(DESTDIR)$(infodir)/ChangeLog ++ -/bin/rm -f $(DESTDIR)$(infodir)/NEWS ++ -/bin/rm -f $(DESTDIR)$(infodir)/COPYING ++ -/bin/rmdir $(DESTDIR)$(bindir) ++ -/bin/rmdir $(DESTDIR)$(devicesdir) ++ -/bin/rmdir $(DESTDIR)$(examplesdir) ++ -/bin/rmdir $(DESTDIR)$(pixdir) ++ -/bin/rmdir $(DESTDIR)$(infodir) ++ -/bin/rmdir $(DESTDIR)$(datadir) ++ -/bin/rmdir $(DESTDIR)$(sysconfdir) ++ -/bin/rmdir $(DESTDIR)$(libdir) ++ diff --git a/app-emulation/i8086emu/i8086emu-0.9.1.ebuild b/app-emulation/i8086emu/i8086emu-0.9.1.ebuild new file mode 100644 index 000000000000..2c6965178b97 --- /dev/null +++ b/app-emulation/i8086emu/i8086emu-0.9.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/i8086emu/i8086emu-0.9.1.ebuild,v 1.1 2004/03/29 08:16:51 dragonheart Exp $ + +inherit eutils + +DESCRIPTION="Emulator for the Intel 8086 microprocessor" +HOMEPAGE="http://i8086emu.sourceforge.net" +SRC_URI="mirror://sourceforge/i8086emu/i8086emu-src-${PV}.tar.bz2" +RESTRICT="nomirror" + +S=${WORKDIR}/i8086emu-src-${PV} +LICENSE="GPL-2" +SLOT="0" +#KEYWORDS="~x86 ~alpha ~amd64" +KEYWORDS="~x86" +IUSE="X" + +RDEPEND="sys-libs/ncurses + virtual/glibc + X? ( dev-libs/glib + dev-libs/atk + media-libs/fontconfig + x11-libs/pango + virtual/x11 + media-libs/freetype + sys-libs/zlib + dev-libs/expat + >=x11-libs/gtk+-2.0.0 )" + +DEPEND="${RDEPEND} + sys-devel/gcc + sys-devel/autoconf + dev-util/pkgconfig" + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${P}.patch +} + +src_compile() { + + local myconf + use X || myconf="usegtk=0" + + econf ${myconf} || die "Failed to configure" + emake || die "Failed to make" +} + +src_install() { + + emake DESTDIR=${D} infodir=/usr/share/doc/${P} examplesdir=/usr/share/doc/${P}/examples install + +} diff --git a/app-emulation/i8086emu/metadata.xml b/app-emulation/i8086emu/metadata.xml new file mode 100644 index 000000000000..08ecd5471316 --- /dev/null +++ b/app-emulation/i8086emu/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>dev-embedded</herd> +<maintainer> +<email>dev-embedded@gentoo.org +</email> +</maintainer> +<longdescription>Emulator for the Intel 8086 microprocessor</longdescription> +</pkgmetadata> |