summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-emulation/dosemu/ChangeLog7
-rw-r--r--app-emulation/dosemu/Manifest8
-rw-r--r--app-emulation/dosemu/dosemu-1.2.2.ebuild57
-rw-r--r--app-emulation/dosemu/files/digest-dosemu-1.2.22
4 files changed, 70 insertions, 4 deletions
diff --git a/app-emulation/dosemu/ChangeLog b/app-emulation/dosemu/ChangeLog
index 94d04d390f2d..c661f71f2d7f 100644
--- a/app-emulation/dosemu/ChangeLog
+++ b/app-emulation/dosemu/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-emulation/dosemu
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/dosemu/ChangeLog,v 1.20 2004/06/24 22:30:59 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/dosemu/ChangeLog,v 1.21 2004/07/31 18:29:44 voxus Exp $
+
+*dosemu-1.2.2 (31 Jul 2004)
+
+ 31 Jul 2004; Konstantin Arkhipov <voxus@gentoo.org> dosemu-1.2.2.ebuild:
+ Version bump, added gpm use flag.
27 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> dosemu-1.2.0.ebuild,
dosemu-1.2.1.ebuild:
diff --git a/app-emulation/dosemu/Manifest b/app-emulation/dosemu/Manifest
index 71cf60f6872d..b1093b6ac975 100644
--- a/app-emulation/dosemu/Manifest
+++ b/app-emulation/dosemu/Manifest
@@ -1,8 +1,10 @@
-MD5 6cbd17104035759f3ea89995117fece4 dosemu-1.2.0.ebuild 1266
MD5 0e2b40b738f2a5829656c45059e83313 ChangeLog 3098
-MD5 a72a06a37ca4e5905085ebff07fe9e9e metadata.xml 217
+MD5 6cbd17104035759f3ea89995117fece4 dosemu-1.2.0.ebuild 1266
MD5 19004109e287589f19fc8512594c9ab3 dosemu-1.2.1.ebuild 1267
+MD5 a72a06a37ca4e5905085ebff07fe9e9e metadata.xml 217
+MD5 16872d86f145fad63c08e73dd7b2c6a4 dosemu-1.2.2.ebuild 1341
MD5 919e6e482f0bc9f366177904eae0b7c1 files/digest-dosemu-1.2.0 133
MD5 f07393e4b6ed8e7785ada12c7c1e9763 files/digest-dosemu-1.2.1 133
-MD5 d9edbc98f1c06b2c5ad563ab29928ec0 files/dosemu_kernel26_patch 1480
MD5 11e355fbc16d4a8c49fbd93df36e1350 files/dosemu-broken-links.diff 521
+MD5 d9edbc98f1c06b2c5ad563ab29928ec0 files/dosemu_kernel26_patch 1480
+MD5 c55a4301f45354bf6dd78364654eedf8 files/digest-dosemu-1.2.2 133
diff --git a/app-emulation/dosemu/dosemu-1.2.2.ebuild b/app-emulation/dosemu/dosemu-1.2.2.ebuild
new file mode 100644
index 000000000000..f24c7a5af481
--- /dev/null
+++ b/app-emulation/dosemu/dosemu-1.2.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2004 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.ebuild,v 1.1 2004/07/31 18:29:44 voxus Exp $
+
+inherit flag-o-matic 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 gpm"
+
+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
+ # 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"
+ use gpm || myflags="${myflags} --without-gpm"
+
+ # 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
+
+ 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.2 b/app-emulation/dosemu/files/digest-dosemu-1.2.2
new file mode 100644
index 000000000000..4a052e554bc1
--- /dev/null
+++ b/app-emulation/dosemu/files/digest-dosemu-1.2.2
@@ -0,0 +1,2 @@
+MD5 078146d2905b1f735573aab37e3d7c4f dosemu-freedos-b9-bin.tgz 1072238
+MD5 53849a324cde7aa5a89646cf6de20e06 dosemu-1.2.2.tgz 2184415