summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Leitch <port001@gentoo.org>2004-06-18 16:16:37 +0000
committerIan Leitch <port001@gentoo.org>2004-06-18 16:16:37 +0000
commitffda90f572a553f5cdba26c5f094a6c2575ac0c2 (patch)
treed693d392718d871403bbbc02ab085801c353f830 /app-emulation/pearpc
parentChanged GAMES_USER to root, changed GAMES_USER_DED to games, and reverted cha... (diff)
downloadhistorical-ffda90f572a553f5cdba26c5f094a6c2575ac0c2.tar.gz
historical-ffda90f572a553f5cdba26c5f094a6c2575ac0c2.tar.bz2
historical-ffda90f572a553f5cdba26c5f094a6c2575ac0c2.zip
Initial commit, thanks to those in #50624 for their work on the ebuild
Diffstat (limited to 'app-emulation/pearpc')
-rw-r--r--app-emulation/pearpc/ChangeLog9
-rw-r--r--app-emulation/pearpc/Manifest4
-rw-r--r--app-emulation/pearpc/files/digest-pearpc-0.2.01
-rw-r--r--app-emulation/pearpc/metadata.xml6
-rw-r--r--app-emulation/pearpc/pearpc-0.2.0.ebuild60
5 files changed, 80 insertions, 0 deletions
diff --git a/app-emulation/pearpc/ChangeLog b/app-emulation/pearpc/ChangeLog
new file mode 100644
index 000000000000..d27eaae772f4
--- /dev/null
+++ b/app-emulation/pearpc/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for app-emulation/pearpc
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/pearpc/ChangeLog,v 1.1 2004/06/18 16:16:37 port001 Exp $
+
+*pearpc-0.2.0 (18 Jun 2004)
+
+ 18 Jun 2004; Ian Leitch <port001@gentoo.org> +pearpc-0.2.0.ebuild:
+ Initial commit, thanks to those in #50624 for their work on the ebuild
+
diff --git a/app-emulation/pearpc/Manifest b/app-emulation/pearpc/Manifest
new file mode 100644
index 000000000000..3e67d9e59ce9
--- /dev/null
+++ b/app-emulation/pearpc/Manifest
@@ -0,0 +1,4 @@
+MD5 9ea050bf1cffa4b253d38affcc8dec20 pearpc-0.2.0.ebuild 1368
+MD5 e992dba9e0c5b058289759d7c57e52c6 ChangeLog 394
+MD5 0fd44160829a8b5ac960874d63017c19 metadata.xml 165
+MD5 0da949433d98e78b13793dcb92d1b8d7 files/digest-pearpc-0.2.0 65
diff --git a/app-emulation/pearpc/files/digest-pearpc-0.2.0 b/app-emulation/pearpc/files/digest-pearpc-0.2.0
new file mode 100644
index 000000000000..b1889ff0fe2a
--- /dev/null
+++ b/app-emulation/pearpc/files/digest-pearpc-0.2.0
@@ -0,0 +1 @@
+MD5 35820dba65afd73728451c94b4903a4a pearpc-0.2.0.tar.bz2 547558
diff --git a/app-emulation/pearpc/metadata.xml b/app-emulation/pearpc/metadata.xml
new file mode 100644
index 000000000000..40d5e3583ad2
--- /dev/null
+++ b/app-emulation/pearpc/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>x86</herd>
+</pkgmetadata>
+
diff --git a/app-emulation/pearpc/pearpc-0.2.0.ebuild b/app-emulation/pearpc/pearpc-0.2.0.ebuild
new file mode 100644
index 000000000000..94e8e4d4dfcc
--- /dev/null
+++ b/app-emulation/pearpc/pearpc-0.2.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/pearpc/pearpc-0.2.0.ebuild,v 1.1 2004/06/18 16:16:37 port001 Exp $
+
+IUSE="qt jit"
+
+DESCRIPTION="PowerPC Architecture Emulator"
+HOMEPAGE="http://pearpc.sourceforge.net/"
+SRC_URI="mirror://sourceforge/pearpc/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND="dev-lang/nasm"
+
+RDEPEND="virtual/x11
+ media-libs/libmng
+ media-libs/jpeg
+ media-libs/libpng
+ sys-libs/zlib
+ media-libs/freetype
+ qt? ( >=x11-libs/qt-3.1.1 )"
+
+src_compile() {
+ local myconf
+ myconf="--enable-release"
+
+ use jit && myconf="${myconf} --enable-cpu=jitc_x86"
+ if use qt; then
+ myconf="${myconf} --enable-gui=qt"
+ else
+ myconf="${myconf} --enable-gui=nogui"
+ fi
+
+ econf ${myconf} || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ dobin src/ppc
+ dodoc ChangeLog AUTHORS COPYING README TODO
+
+ dodir /usr/share/${P}
+ insinto /usr/share/${P}
+ doins scripts/ifppc_down scripts/ifppc_up
+ doins video.x
+
+ insinto /usr/share/doc/${P}
+ sed -i -e "s:video.x:/usr/share/${P}/video.x:g" ppccfg.example
+ doins ppccfg.example
+}
+
+pkg_postinst() {
+ echo
+ einfo "You will need to update your configuration files to point"
+ einfo "to the new location of video.x, which is now"
+ einfo "/usr/share/${P}/video.x"
+ echo
+}