diff options
author | 2016-12-12 14:07:42 -0500 | |
---|---|---|
committer | 2016-12-12 14:07:42 -0500 | |
commit | efa7f75747cdf73929aa43bead5b01fe901e9fc3 (patch) | |
tree | cb18ef1c6556747a18d66bf79f2683891919b027 /app-emulation/hercules/hercules-3.12.ebuild | |
parent | app-emulation/hercules: fix parallel install errors #488126 (diff) | |
download | gentoo-efa7f75747cdf73929aa43bead5b01fe901e9fc3.tar.gz gentoo-efa7f75747cdf73929aa43bead5b01fe901e9fc3.tar.bz2 gentoo-efa7f75747cdf73929aa43bead5b01fe901e9fc3.zip |
app-emulation/hercules: version bump to 3.12
Diffstat (limited to 'app-emulation/hercules/hercules-3.12.ebuild')
-rw-r--r-- | app-emulation/hercules/hercules-3.12.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
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 +} |