From efa7f75747cdf73929aa43bead5b01fe901e9fc3 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 12 Dec 2016 14:07:42 -0500 Subject: app-emulation/hercules: version bump to 3.12 --- app-emulation/hercules/Manifest | 1 + app-emulation/hercules/hercules-3.12.ebuild | 47 +++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 app-emulation/hercules/hercules-3.12.ebuild (limited to 'app-emulation/hercules') diff --git a/app-emulation/hercules/Manifest b/app-emulation/hercules/Manifest index c30767be9d07..bbd2b26c3c51 100644 --- a/app-emulation/hercules/Manifest +++ b/app-emulation/hercules/Manifest @@ -1 +1,2 @@ DIST hercules-3.10.tar.gz 2608321 SHA256 26264569b7d78bbc3b6221926051ac3761c4a792dfc84d591d3230de40aa46fa SHA512 de8b3e2e90fdb745dea9c8ce4dbe506de2aba3bf08b3e937605798e6a8020576a949d6ea3496b7c42bd23d617fc96648d2d8ec05a66e8ed174ce46a3bc31c5d1 WHIRLPOOL 5233ededd4ef42e201216a11b2a09ee6c59a678771aaa9bc78ab4b87f459addc5c0b4ffd4bd2ec98d15a461565db6a354cc1ac846f800b98e86e93e51b263b4a +DIST hercules-3.12.tar.gz 2569617 SHA256 aefbe9d2f09372a530c17c177b7d2a0f4bcf8cfd28474672935b067e5f9ee373 SHA512 81d6e151c1c8534753f2db532a0a7bd36fb3806c1ffbab5d6e4a9af3eecea46b95105c37574910714dcfc0fe9b74a72140d573099c24fd44021159ce697414ef WHIRLPOOL 03817954f281b545a1e431e3b2cbc11c97c2c636a63a8ca5a22b9a046ee9f286ec922798e38b7874c5b5b9a8f8fcfe59d8e7cac7f03bf880265937a53f43f4ef diff --git a/app-emulation/hercules/hercules-3.12.ebuild b/app-emulation/hercules/hercules-3.12.ebuild new file mode 100644 index 000000000000..14e2e8a5fe40 --- /dev/null +++ b/app-emulation/hercules/hercules-3.12.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit flag-o-matic eutils + +DESCRIPTION="Hercules System/370, ESA/390 and zArchitecture Mainframe Emulator" +HOMEPAGE="http://www.hercules-390.eu/" +SRC_URI="http://downloads.hercules-390.eu/${P}.tar.gz" + +LICENSE="QPL-1.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~x64-macos ~x86-macos" +IUSE="bzip2 custom-cflags +suid" + +RDEPEND="bzip2? ( app-arch/bzip2 ) + sys-libs/zlib" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-3.09-aliasing.patch + + # The local modules need local libs, so when doing a parallel install + # of the modules and libs breaks during relinking. Force the libs to + # install first, and then the modules that use those libs. #488126 + echo "install-modexecLTLIBRARIES: install-libLTLIBRARIES" >> Makefile.in +} + +src_configure() { + use custom-cflags || strip-flags + ac_cv_lib_bz2_BZ2_bzBuffToBuffDecompress=$(usex bzip2) \ + econf \ + $(use_enable bzip2 cckd-bzip2) \ + $(use_enable bzip2 het-bzip2) \ + $(use_enable suid setuid-hercifc) \ + --enable-custom="Gentoo ${PF}.ebuild" \ + --disable-optimization +} + +src_install() { + default + insinto /usr/share/hercules + doins hercules.cnf + dodoc README.* RELEASE.NOTES + dohtml -r html +} -- cgit v1.2.3-65-gdbad