summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Phillips <rphillips@gentoo.org>2002-05-27 22:42:44 +0000
committerRyan Phillips <rphillips@gentoo.org>2002-05-27 22:42:44 +0000
commit101ba327b70793a4e01133197faab9e99a7472bd (patch)
tree7248e45615b178d63a330197064536d18aa7a7c9 /app-emulation
parentFixes #3067 (diff)
downloadhistorical-101ba327b70793a4e01133197faab9e99a7472bd.tar.gz
historical-101ba327b70793a4e01133197faab9e99a7472bd.tar.bz2
historical-101ba327b70793a4e01133197faab9e99a7472bd.zip
New package. Fixes #3063
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/spectemu/ChangeLog13
-rw-r--r--app-emulation/spectemu/files/digest-spectemu-0.9.41
-rw-r--r--app-emulation/spectemu/spectemu-0.9.4.ebuild55
3 files changed, 69 insertions, 0 deletions
diff --git a/app-emulation/spectemu/ChangeLog b/app-emulation/spectemu/ChangeLog
new file mode 100644
index 000000000000..2856a48c1314
--- /dev/null
+++ b/app-emulation/spectemu/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for app-emulation/specemu
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/spectemu/ChangeLog,v 1.1 2002/05/27 22:42:44 rphillips Exp $
+
+*specemu-0.9.4 (27 May 2002)
+
+ 27 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/spectemu/files/digest-spectemu-0.9.4 b/app-emulation/spectemu/files/digest-spectemu-0.9.4
new file mode 100644
index 000000000000..3c4622cb6cea
--- /dev/null
+++ b/app-emulation/spectemu/files/digest-spectemu-0.9.4
@@ -0,0 +1 @@
+MD5 95dfe6f7d77dbc6054744c4f60b8d02f spectemu-0.94.tar.gz 224088
diff --git a/app-emulation/spectemu/spectemu-0.9.4.ebuild b/app-emulation/spectemu/spectemu-0.9.4.ebuild
new file mode 100644
index 000000000000..c49fac4a4a72
--- /dev/null
+++ b/app-emulation/spectemu/spectemu-0.9.4.ebuild
@@ -0,0 +1,55 @@
+# 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/spectemu/spectemu-0.9.4.ebuild,v 1.1 2002/05/27 22:42:44 rphillips Exp $
+
+DESCRIPTION="48k ZX Spectrum Emulator"
+HOMEPAGE="http://kempelen.iit.bme.hu/~mszeredi/spectemu/spectemu.html"
+LICENSE="GPL | LGPL"
+SRC_URI="http://home.gwi.net/~plemon/sources/spectemu-0.94.tar.gz"
+
+### Several versions of specemu exist, xspect & vgaspect, utilising X11
+### and/or svgalib. libreadline provides optional runtime features.
+### The ./configure script automagically figures out which binaries to build
+### so the run/compiletime dependancies here are use dependant
+
+DEPEND="X? ( x11-base/xfree )
+ readline? ( sys-libs/readline )"
+RDEPEND="svga? ( media-libs/svgalib )"
+
+S=${WORKDIR}/spectemu-0.94/
+
+src_compile() {
+
+### First we'll set compiletime options for X11 & libreadline, there are no
+### switches for svgalib, if its installed, it'll build vgaspect. if not,
+### well... it wont!
+
+ local myflags
+ use X || myflags="${myflags} --with-x=no"
+ use readline || myflags="${myflags} --without-readline"
+
+### and no we'll configure & compile as appropriate
+
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man/man1 \
+ ${myflags} || die "Spectemu ./configure failed"
+ make clean || die "Spectemu make clean failed"
+ emake || die "Spectemu make failed"
+}
+
+src_install () {
+
+### Here's our make install, nothing special here, houston, we are
+### go for launch.
+
+ make \
+ prefix=${D}/usr \
+ mandir=${D}/usr/share/man/man1 \
+ infodir=${D}/usr/share/info \
+ install || die "Spectemu make install failed"
+}
+