summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2005-01-10 09:52:21 +0000
committerHanno Böck <hanno@gentoo.org>2005-01-10 09:52:21 +0000
commit9b620baa7ad3d75e6d620e2acb914941ee936d59 (patch)
tree6ed4aa04659d6d801a06f980e41e741082cfeab6 /app-emulation/dosemu
parentlastest stable for x86 (diff)
downloadgentoo-2-9b620baa7ad3d75e6d620e2acb914941ee936d59.tar.gz
gentoo-2-9b620baa7ad3d75e6d620e2acb914941ee936d59.tar.bz2
gentoo-2-9b620baa7ad3d75e6d620e2acb914941ee936d59.zip
some dosemu cleanups and fixes
Diffstat (limited to 'app-emulation/dosemu')
-rw-r--r--app-emulation/dosemu/ChangeLog7
-rw-r--r--app-emulation/dosemu/dosemu-1.2.2-r1.ebuild54
-rw-r--r--app-emulation/dosemu/files/digest-dosemu-1.2.2-r12
3 files changed, 62 insertions, 1 deletions
diff --git a/app-emulation/dosemu/ChangeLog b/app-emulation/dosemu/ChangeLog
index 88d83844a599..b8056430d793 100644
--- a/app-emulation/dosemu/ChangeLog
+++ b/app-emulation/dosemu/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-emulation/dosemu
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/dosemu/ChangeLog,v 1.22 2005/01/01 14:09:52 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/dosemu/ChangeLog,v 1.23 2005/01/10 09:52:21 hanno Exp $
+
+*dosemu-1.2.2-r1 (10 Jan 2005)
+
+ 10 Jan 2005; Hanno Boeck <hanno@gentoo.org> +dosemu-1.2.2-r1.ebuild:
+ A bunch of cleanups and fixes, most of them found in bug #62882.
*dosemu-1.2.2 (31 Jul 2004)
diff --git a/app-emulation/dosemu/dosemu-1.2.2-r1.ebuild b/app-emulation/dosemu/dosemu-1.2.2-r1.ebuild
new file mode 100644
index 000000000000..764e72607f22
--- /dev/null
+++ b/app-emulation/dosemu/dosemu-1.2.2-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/dosemu/dosemu-1.2.2-r1.ebuild,v 1.1 2005/01/10 09:52:21 hanno Exp $
+
+inherit flag-o-matic eutils
+
+P_FD=dosemu-freedos-b9r5-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 gpm debug"
+
+DEPEND="X? ( virtual/x11 )
+ svga? ( media-libs/svgalib )
+ gpm? ( sys-libs/gpm )
+ sys-libs/slang"
+
+src_unpack() {
+ unpack ${P}.tgz
+ cd ${S}
+ epatch ${FILESDIR}/dosemu-broken-links.diff
+}
+
+src_compile() {
+ local myflags="--with-fdtarball=none --sysconfdir=/etc/dosemu/ \
+ --with-mandir=/usr/share/man/"
+
+ use X || myflags="${myflags} --with-x=no"
+ use svga && myflags="${myflags} --enable-use-svgalib"
+ use gpm || myflags="${myflags} --without-gpm"
+ use debug && myflags="${myflags} --enable-debug"
+
+ # Has problems with -O3 on some systems
+ replace-flags -O[3-9] -O2
+
+ econf ${myflags} || die "DOSemu Base Configuration Failed"
+
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+
+ dodoc doc/*
+ rm -rf ${D}/usr/share/doc/dosemu
+
+ # 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.2-r1 b/app-emulation/dosemu/files/digest-dosemu-1.2.2-r1
new file mode 100644
index 000000000000..e6008f45324f
--- /dev/null
+++ b/app-emulation/dosemu/files/digest-dosemu-1.2.2-r1
@@ -0,0 +1,2 @@
+MD5 34c0015398f35b30d4d8e484ced3be17 dosemu-freedos-b9r5-bin.tgz 1157598
+MD5 53849a324cde7aa5a89646cf6de20e06 dosemu-1.2.2.tgz 2184415