diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-emulation/gxemul/gxemul-0.6.0-r1.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-emulation/gxemul/gxemul-0.6.0-r1.ebuild')
-rw-r--r-- | app-emulation/gxemul/gxemul-0.6.0-r1.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/app-emulation/gxemul/gxemul-0.6.0-r1.ebuild b/app-emulation/gxemul/gxemul-0.6.0-r1.ebuild new file mode 100644 index 000000000000..889530285923 --- /dev/null +++ b/app-emulation/gxemul/gxemul-0.6.0-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit eutils toolchain-funcs + +DESCRIPTION="A Machine Emulator, Mainly emulates MIPS, but supports other CPU types" +HOMEPAGE="http://gxemul.sourceforge.net/" +SRC_URI="mirror://sourceforge/project/gxemul/GXemul/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~mips ~ppc ~sparc ~x86 ~x86-fbsd" +IUSE="debug X" + +RDEPEND="X? ( x11-libs/libX11 )" +DEPEND="${RDEPEND} + X? ( x11-base/xorg-proto )" + +src_prepare() { + epatch "${FILESDIR}"/${PV}-gcc46.patch + epatch "${FILESDIR}"/${PV}-fix-mymkstemp.patch # Bug 441558 + epatch "${FILESDIR}"/${PV}-fix-mkstemp-test.patch # Bug 441558 + sed -i configure -e 's|-O3||g' || die "sed configure" + tc-export CC CXX +} + +src_configure() { + # no autotools + ./configure \ + --disable-valgrind \ + $(use debug && echo --debug) \ + $(use X || echo --disable-x) || die "configure failed" +} + +src_install() { + dobin gxemul + doman man/gxemul.1 + dodoc HISTORY README + dohtml -r doc/* +} |