summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Phillips <rphillips@gentoo.org>2002-05-27 01:05:59 +0000
committerRyan Phillips <rphillips@gentoo.org>2002-05-27 01:05:59 +0000
commit29954fe18d708978780dfe76e0d3662f3ec8446c (patch)
tree48bba803b012e4027c5e818236268416d8b90948 /app-emulation/basiliskII
parentNew Package. Fixes #2894 (diff)
downloadgentoo-2-29954fe18d708978780dfe76e0d3662f3ec8446c.tar.gz
gentoo-2-29954fe18d708978780dfe76e0d3662f3ec8446c.tar.bz2
gentoo-2-29954fe18d708978780dfe76e0d3662f3ec8446c.zip
New Package. Fixes #2858
Diffstat (limited to 'app-emulation/basiliskII')
-rw-r--r--app-emulation/basiliskII/ChangeLog13
-rw-r--r--app-emulation/basiliskII/basiliskII-0.9.0.ebuild65
-rw-r--r--app-emulation/basiliskII/files/digest-basiliskII-0.9.01
3 files changed, 79 insertions, 0 deletions
diff --git a/app-emulation/basiliskII/ChangeLog b/app-emulation/basiliskII/ChangeLog
new file mode 100644
index 000000000000..be8d9df18dd7
--- /dev/null
+++ b/app-emulation/basiliskII/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for app-emulation/basiliskII
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/basiliskII/ChangeLog,v 1.1 2002/05/27 01:05:59 rphillips Exp $
+
+*basiliskII-0.9.0 (26 May 2002)
+
+ 26 May 2002; Ryan Phillips <rphillips@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/app-emulation/basiliskII/basiliskII-0.9.0.ebuild b/app-emulation/basiliskII/basiliskII-0.9.0.ebuild
new file mode 100644
index 000000000000..0e17c40ca4a3
--- /dev/null
+++ b/app-emulation/basiliskII/basiliskII-0.9.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# Maintainer: Phillip Lemon (AITD) <plemon@gwi.net>
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/basiliskII/basiliskII-0.9.0.ebuild,v 1.1 2002/05/27 01:05:59 rphillips Exp $
+
+### This package requires a Mac II/Classic ROM, A Mac OS Image
+### Mac OS 7.5.3r2 is available freely from the Apple Homepage
+### System ROMS can be retreived from a 'real' Mac, See info/man pages
+
+DESCRIPTION="BasiliskII-0.9.0 Macintosh Emulator (Stable Release)"
+HOMEPAGE="http://phcip1.phyzik.uni-mainz.de/~bauec002/B2Main.html"
+LICENSE="GPL | LGPL"
+
+### We'll set $S Manually, it's version dependant, and nested strangely.
+S=${WORKDIR}/BasiliskII-0.9/src/Unix
+
+### fbdev support in the stable release... the cvs branch is broken, period!
+### gtk and esd support are compile time options, we'll check the usual
+### use variables here and set ./configure options accordingly
+
+DEPEND="gtk? ( x11-libs/gtk+ )
+ esd? ( media-sound/esound )"
+
+SRC_URI="http://iphcip1.physik.uni-mainz.de/~cbauer/BasiliskII_src_31052001.tar.gz"
+
+src_compile() {
+
+ local myflags
+
+### Default ./configure options are all =yes by default. we'll check for
+### and use -values and switch them accordingly
+
+ use X || myflags="${myflags} --with-x=no"
+ use esd || myflags="${myflags} --with-esd=no"
+ use gtk || myflags="${myflags} --with-gtk=no"
+ use dga || myflags="${myflags} --with-dga=no"
+ use xv || myflags="${myflags} --enable-xf86-vidmode=no"
+
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man \
+ ${myflags} || die "BasiliskII ./configure Failed"
+ emake || die "BasiliskII Make Failed"
+}
+
+src_install () {
+ make \
+ prefix=${D}/usr \
+ mandir=${D}/usr/share/man \
+ infodir=${D}/usr/share/info \
+ install || die "BasiliskII Make Install Failed"
+
+### Networking is _disabled_ in this revision, hopefully -r2 will
+### resolve the permissions issue / linux src compilation problem
+### that prevents it's inclusion
+
+### Uncomment the following, and read the manual _carefully_ if you really
+### need networking, this will create a sheep_net.o kernel module that
+### provides (effectivly) an ethernet bridge between basliskII and the kernel
+
+# make modules
+
+}
diff --git a/app-emulation/basiliskII/files/digest-basiliskII-0.9.0 b/app-emulation/basiliskII/files/digest-basiliskII-0.9.0
new file mode 100644
index 000000000000..4162d32bbfbe
--- /dev/null
+++ b/app-emulation/basiliskII/files/digest-basiliskII-0.9.0
@@ -0,0 +1 @@
+MD5 5017e21226c27a4a029da0486dcf04e1 BasiliskII_src_31052001.tar.gz 465882