summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2008-03-27 21:03:21 +0000
committerHanno Böck <hanno@gentoo.org>2008-03-27 21:03:21 +0000
commitea831ab09e926812032046b8777add2509f78d61 (patch)
tree8a90ed9f6cc0068a82caa33708b1aa3c9fbdcc6e /app-emulation/dosemu
parentStable for HPPA too. (diff)
downloadgentoo-2-ea831ab09e926812032046b8777add2509f78d61.tar.gz
gentoo-2-ea831ab09e926812032046b8777add2509f78d61.tar.bz2
gentoo-2-ea831ab09e926812032046b8777add2509f78d61.zip
dosemu new version
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-emulation/dosemu')
-rw-r--r--app-emulation/dosemu/ChangeLog7
-rw-r--r--app-emulation/dosemu/dosemu-1.4.0.1.ebuild69
2 files changed, 75 insertions, 1 deletions
diff --git a/app-emulation/dosemu/ChangeLog b/app-emulation/dosemu/ChangeLog
index 62946c405f98..80b0b32368de 100644
--- a/app-emulation/dosemu/ChangeLog
+++ b/app-emulation/dosemu/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-emulation/dosemu
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/dosemu/ChangeLog,v 1.47 2008/03/24 17:18:15 coldwind Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/dosemu/ChangeLog,v 1.48 2008/03/27 21:03:21 hanno Exp $
+
+*dosemu-1.4.0.1 (27 Mar 2008)
+
+ 27 Mar 2008; Hanno Boeck <hanno@gentoo.org> +dosemu-1.4.0.1.ebuild:
+ Version bump.
24 Mar 2008; Santiago M. Mola <coldwind@gentoo.org> dosemu-1.4.0.ebuild:
amd64 stable
diff --git a/app-emulation/dosemu/dosemu-1.4.0.1.ebuild b/app-emulation/dosemu/dosemu-1.4.0.1.ebuild
new file mode 100644
index 000000000000..c2274f6d595c
--- /dev/null
+++ b/app-emulation/dosemu/dosemu-1.4.0.1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/dosemu/dosemu-1.4.0.1.ebuild,v 1.1 2008/03/27 21:03:21 hanno Exp $
+
+inherit flag-o-matic eutils autotools
+
+P_FD=dosemu-freedos-1.0-bin
+DESCRIPTION="DOS Emulator"
+HOMEPAGE="http://www.dosemu.org/"
+SRC_URI="mirror://sourceforge/dosemu/${P_FD}.tgz
+ mirror://sourceforge/dosemu/${PN}-1.4.0.tgz
+ http://dosemu.sourceforge.net/prereleases/patch-${PV}.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="X svga gpm debug"
+
+RDEPEND="X? ( x11-libs/libXxf86vm
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ x11-proto/xf86dgaproto
+ x11-apps/xset
+ x11-apps/xlsfonts
+ x11-apps/bdftopcf
+ x11-apps/mkfontdir )
+ svga? ( media-libs/svgalib )
+ gpm? ( sys-libs/gpm )
+ >=sys-libs/slang-1.4"
+
+DEPEND="${RDEPEND}
+ >=sys-devel/autoconf-2.57"
+S="${WORKDIR}/${PN}-1.4.0"
+
+src_unpack() {
+ unpack "${PN}-1.4.0.tgz"
+ cd "${S}"
+
+ epatch "${DISTDIR}/patch-${PV}.gz"
+ epatch "${FILESDIR}"/dosemu-1.3.4-shm.diff
+
+ #eautoreconf || die "autoconf failed"
+}
+
+src_compile() {
+ # Has problems with -O3 on some systems
+ replace-flags -O[3-9] -O2
+
+ # Fix compilation on hardened
+ append-flags -fno-pic
+
+ unset KERNEL
+
+ econf `use_with X x` \
+ `use_enable svga svgalib` \
+ `use_enable debug` \
+ `use_with gpm` \
+ --with-fdtarball="${DISTDIR}"/${P_FD}.tgz \
+ --sysconfdir=/etc/dosemu/ \
+ --with-docdir=/usr/share/doc/${PF} || die
+
+ emake || die
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+ # Don't remove COPYING, see bug #137286
+ dodoc BUGS ChangeLog COPYING NEWS README THANKS || die
+}