summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTod Neidt <tod@gentoo.org>2002-04-26 20:03:43 +0000
committerTod Neidt <tod@gentoo.org>2002-04-26 20:03:43 +0000
commitac5d69f9ad92bfc09aa1c28e2e8460e50725c81a (patch)
tree05fdff80f16ada1cd571bd0073cf1b4e231e4658 /app-emulation/hercules
parentnew media player (diff)
downloadhistorical-ac5d69f9ad92bfc09aa1c28e2e8460e50725c81a.tar.gz
historical-ac5d69f9ad92bfc09aa1c28e2e8460e50725c81a.tar.bz2
historical-ac5d69f9ad92bfc09aa1c28e2e8460e50725c81a.zip
Initial commit. Ebuild submitted by Todd Wright (Bug #1835).
Diffstat (limited to 'app-emulation/hercules')
-rw-r--r--app-emulation/hercules/ChangeLog9
-rw-r--r--app-emulation/hercules/files/digest-hercules-2.151
-rw-r--r--app-emulation/hercules/hercules-2.15.ebuild61
3 files changed, 71 insertions, 0 deletions
diff --git a/app-emulation/hercules/ChangeLog b/app-emulation/hercules/ChangeLog
new file mode 100644
index 000000000000..dfe69f086d27
--- /dev/null
+++ b/app-emulation/hercules/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for <CATEGORY>/<PACKAGE_NAME>
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/hercules/ChangeLog,v 1.1 2002/04/26 20:03:43 tod Exp $
+
+*hercules-2.15 ( 26 Apr 2002 )
+
+ 26 Apr 2002; Tod Neidt <tod@gentoo.org> hercules-2.15.ebuild :
+
+ Initial commit. Ebuild submitted by Todd Wright.
diff --git a/app-emulation/hercules/files/digest-hercules-2.15 b/app-emulation/hercules/files/digest-hercules-2.15
new file mode 100644
index 000000000000..9079c6510b1b
--- /dev/null
+++ b/app-emulation/hercules/files/digest-hercules-2.15
@@ -0,0 +1 @@
+MD5 8eb98b2b5663607fda075fc57f019172 hercules-2.15.tar.gz 759012
diff --git a/app-emulation/hercules/hercules-2.15.ebuild b/app-emulation/hercules/hercules-2.15.ebuild
new file mode 100644
index 000000000000..1a5b8f93e6b0
--- /dev/null
+++ b/app-emulation/hercules/hercules-2.15.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Maintainer: Todd Wright <wylie@geekasylum.org>
+# /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.4 2002/03/12 16:05:09 tod Exp
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Hercules System/370, ESA/390 and zArchitecture Mainframe Emulator"
+SRC_URI="http://www.conmicro.cx/hercules/${P}.tar.gz"
+HOMEPAGE="http://www.conmicro.cx/hercules/"
+SLOT="0"
+
+DEPEND="virtual/glibc
+ sys-apps/bzip2
+ "
+
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ local mycflags
+ mycflags="${CFLAGS}"
+ unset CFLAGS ; unset CXXFLAGS
+
+ ./configure \
+ --prefix=/usr \
+ --enable-optimization="${mycflags}" \
+ --enable-cckd-bzip2 \
+ --enable-het-bzip2 \
+ --enable-setuid-hercifc \
+ --enable-custom="Gentoo Linux ${PF}.ebuild" \
+ || die "bad ./configure"
+
+ make || die "compile problem"
+}
+
+src_install() {
+
+ make DESTDIR=${D} install
+ dodoc INSTALL
+
+ dohtml html/*.html html/hercules.css
+
+ insinto /usr/share/hercules
+ doins hercules.cnf
+}
+
+pkg_postinst() {
+
+ einfo
+ einfo "Hercules System/370, ESA/390 and zArchitecture Mainframe"
+ einfo "Emulator has been installed. Some useful utility files have"
+ einfo "been placed in /usr/share/hercules. For detailed configuration"
+ einfo "and operating instructions, see http://www.conmicro.cx/hercules"
+ einfo
+ einfo "In order to use Hercules you will need a guest operating"
+ einfo "system. There are several flavours of 'Linux for S/390'"
+ einfo "available, or if you want that 'Big Iron' feel, you can"
+ einfo "download several real mainframe operating systems such as"
+ einfo "OS/360, MVS 3.8J or VM370r6 from http://www.cbttape.org"
+ einfo
+
+}