diff options
author | Thomas Raschbacher <lordvan@gentoo.org> | 2003-01-04 13:19:25 +0000 |
---|---|---|
committer | Thomas Raschbacher <lordvan@gentoo.org> | 2003-01-04 13:19:25 +0000 |
commit | e6daeae075dbb1b265842665131eb9d5c201672e (patch) | |
tree | 0177518a188dac16330da8119f0bbfec351ec31b /app-emulation/plex86 | |
parent | unmask x86 (diff) | |
download | gentoo-2-e6daeae075dbb1b265842665131eb9d5c201672e.tar.gz gentoo-2-e6daeae075dbb1b265842665131eb9d5c201672e.tar.bz2 gentoo-2-e6daeae075dbb1b265842665131eb9d5c201672e.zip |
initial version; bug #5327
Diffstat (limited to 'app-emulation/plex86')
-rw-r--r-- | app-emulation/plex86/ChangeLog | 10 | ||||
-rw-r--r-- | app-emulation/plex86/files/digest-plex86-20021117 | 1 | ||||
-rw-r--r-- | app-emulation/plex86/plex86-20021117.ebuild | 66 |
3 files changed, 77 insertions, 0 deletions
diff --git a/app-emulation/plex86/ChangeLog b/app-emulation/plex86/ChangeLog new file mode 100644 index 000000000000..5ece0600c85d --- /dev/null +++ b/app-emulation/plex86/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-emulation/plex86 +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# $Header: /var/cvsroot/gentoo-x86/app-emulation/plex86/ChangeLog,v 1.1 2003/01/04 13:19:17 lordvan Exp $ + +*plex86-20021117 (04 Jan 2003) + + 04 Jan 2003; Thomas Raschbacher <lordvan@gentoo.org>: + + Initial version. + Fixes Bug #5327 diff --git a/app-emulation/plex86/files/digest-plex86-20021117 b/app-emulation/plex86/files/digest-plex86-20021117 new file mode 100644 index 000000000000..d1343595a836 --- /dev/null +++ b/app-emulation/plex86/files/digest-plex86-20021117 @@ -0,0 +1 @@ +MD5 bdc42e3d5b2af2eeece6e307a3d77085 plex86-20021117.tar.bz2 817512 diff --git a/app-emulation/plex86/plex86-20021117.ebuild b/app-emulation/plex86/plex86-20021117.ebuild new file mode 100644 index 000000000000..816c73527e8e --- /dev/null +++ b/app-emulation/plex86/plex86-20021117.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/plex86/plex86-20021117.ebuild,v 1.1 2003/01/04 13:19:21 lordvan Exp $ + +DESCRIPTION="Plex86 is THE opensource free-software alternative for VMWare, VirtualPC, and other IA-32 on IA-32 \"Virtual PC products.\"" +HOMEPAGE="http://savannah.gnu.org/projects/plex86/" +LICENSE="LGPL-2.1" +SRC_URI="http://savannah.nongnu.org/download/plex86/${P}.tar.bz2" +SLOT="0" +KEYWORDS="~x86" +IUSE="X sdl" +RDEPEND=">=sys-libs/ncurses-5.2-r7 + X? ( >=x11-base/xfree-4.2.0 ) + sdl? ( >=media-libs/libsdl-1.2.4 )" +DEPEND="${RDEPEND}" +DEPEND="" +S="${WORKDIR}/${P}" + +src_compile() { + MY_CONF="--with-Linux --enable-cdrom --enable-split-hd --enable-pci --enable-vbe --enable-sb16=linux --enable-instrumentation" + # --enable-ne2000 not working at the moment + + MY_GUI="curses" + use X && MY_GUI="x" + use sdl && MY_GUI="sdl" + + use X && MY_CONF="${MY_CONF} --with-x --with-linux-source=/usr/src/linux" + MY_CONF="${MY_CONF} --with-gui=${MY_GUI}" + + # fix typo (bug submitted) + mv user/plugins/bochs/iodev/eth_fbsd.cc user/plugins/bochs/iodev/eth_fbsd.cc_orig + sed s/'inclide'/'include'/ user/plugins/bochs/iodev/eth_fbsd.cc_orig > user/plugins/bochs/iodev/eth_fbsd.cc + + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man ${MY_CONF} || die "./configure failed" + + make || die +} + +src_install() { + #make DESTDIR=${D} install || die + # for now just this: + dodir /opt/${P} + cp -r * ${D}/opt/${P} +} + +pkg_postinst() { + echo + einfo ",-----------------------------------------------------------------." + einfo "| IMPORTANT NOTICE |" + einfo "|-----------------------------------------------------------------|" + einfo "| This code is EXTREMELY EXPERIMENTAL, and may well result in a |" + einfo "| SYSTEM CRASH, and who knows what other ill effects. RUN THIS |" + einfo "| SOFTWARE AT YOUR OWN RISK. As a precaution, do not attempt to |" + einfo "| run this software on a system with important data on it, and |" + einfo "| make liberal use of the sync command! Expect to have to use |" + einfo "| the power button. |" + einfo "\`-----------------------------------------------------------------'" + echo + einfo "Contact me (lordvan@lordvan.com) if you encounter any problems." + echo + +}
\ No newline at end of file |