summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/dosemu/ChangeLog7
-rw-r--r--app-emulation/dosemu/dosemu-1.2.0.ebuild55
-rw-r--r--app-emulation/dosemu/files/digest-dosemu-1.2.02
3 files changed, 63 insertions, 1 deletions
diff --git a/app-emulation/dosemu/ChangeLog b/app-emulation/dosemu/ChangeLog
index 55d4c9ec290d..650414f77501 100644
--- a/app-emulation/dosemu/ChangeLog
+++ b/app-emulation/dosemu/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-emulation/dosemu
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/dosemu/ChangeLog,v 1.15 2004/01/14 12:37:58 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/dosemu/ChangeLog,v 1.16 2004/01/19 20:43:03 hanno Exp $
+
+*dosemu-1.2.0 (19 Jan 2004)
+
+ 19 Jan 2004; Hanno Boeck <hanno@gentoo.org> dosemu-1.2.0.ebuild:
+ Version bump.
*dosemu-1.1.99.2 (14 Jan 2004)
diff --git a/app-emulation/dosemu/dosemu-1.2.0.ebuild b/app-emulation/dosemu/dosemu-1.2.0.ebuild
new file mode 100644
index 000000000000..7c19c232875e
--- /dev/null
+++ b/app-emulation/dosemu/dosemu-1.2.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/dosemu/dosemu-1.2.0.ebuild,v 1.1 2004/01/19 20:43:03 hanno Exp $
+
+inherit eutils
+
+P_FD=dosemu-freedos-b9-bin
+DESCRIPTION="DOS Emulator"
+HOMEPAGE="http://www.dosemu.org/"
+SRC_URI="mirror://sourceforge/dosemu/${P_FD}.tgz
+ mirror://sourceforge/dosemu/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-* ~x86"
+IUSE="X svga"
+
+DEPEND="X? ( virtual/x11 )
+ svga? ( media-libs/svgalib )
+ sys-libs/slang"
+
+# Has problems with -O3 on some systems
+replace-flags -O[3-9] -O2
+
+src_unpack() {
+ unpack ${P}.tgz
+ cd ${S}
+ epatch ${FILESDIR}/dosemu-broken-links.diff
+ # extract freedos binary
+ cd ${S}/src
+ unpack ${P_FD}.tgz
+}
+
+src_compile() {
+ local myflags
+
+ use X || myflags="${myflags} --with-x=no"
+ use svga && myflags="${myflags} --enable-use-svgalib"
+
+ econf ${myflags} || die "DOSemu Base Configuration Failed"
+
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+
+ doman man/*.1
+ rm -rf ${D}/opt/dosemu/man/
+
+ mv ${D}/usr/share/doc/dosemu ${D}/usr/share/doc/${PF}
+
+ # freedos tarball is needed in /usr/share/dosemu
+ cp ${DISTDIR}/${P_FD}.tgz ${D}/usr/share/dosemu/dosemu-freedos-bin.tgz
+}
diff --git a/app-emulation/dosemu/files/digest-dosemu-1.2.0 b/app-emulation/dosemu/files/digest-dosemu-1.2.0
new file mode 100644
index 000000000000..56c45832a9e1
--- /dev/null
+++ b/app-emulation/dosemu/files/digest-dosemu-1.2.0
@@ -0,0 +1,2 @@
+MD5 078146d2905b1f735573aab37e3d7c4f dosemu-freedos-b9-bin.tgz 1072238
+MD5 763e6b865dac87114041f5eb4b24bf8e dosemu-1.2.0.tgz 2158163