mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-emulation/gxemul: add 0.6.3.1
Changes in top-down order:
- bump EAPI
- add public-domain LICENSE -- see LICENSE file
- adjust style
- make use of DOCS & HTML_DOCS
- remove generic die description
- move tc-export to src_configure
- introduce myconfargs
- introduce ${PN} to make code look more generic
Signed-off-by: Filip Kobierski <fkobi@pm.me>
Closes: https://github.com/gentoo/gentoo/pull/40915
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
committed by
Joonas Niilola
parent
e7644ff613
commit
6341eb8816
@@ -1 +1,2 @@
|
||||
DIST gxemul-0.6.2.tar.gz 5897883 BLAKE2B 9f5b76d955dc3e1a5b1623aaf491f18376456f33cfaa6a4c1633480980c35bb99172075135cfc1ca942ae3b0f34c4eb11c4aec4bc00272da8bb905176ddcea4a SHA512 4f389c509f9ecf39603ceed50e899e2bee285d3fefac9b3214076115ee71b5a7a68d1d92690b6debc8de5cf5f0303da83b3cc921a5c0b5eb4c7ad89baa730b59
|
||||
DIST gxemul-0.6.3.1.tar.gz 6144125 BLAKE2B 080f9c0d5ff333bdd782a44cd34abe6cb658efbeed8e68ea7d9f7c3323030b8755f0555cdedaf6531e7d5024f07474de9664ec8537f0b70beffac8ec95d4dd26 SHA512 b750a53c764245d2c02147beefdac4f44f1e6bad0f390a2300b3907b312d59a41fa8f6de612494627366f1787e49174acfc9113263901af878fab8e925b0645e
|
||||
|
||||
49
app-emulation/gxemul/gxemul-0.6.3.1.ebuild
Normal file
49
app-emulation/gxemul/gxemul-0.6.3.1.ebuild
Normal file
@@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="A Machine Emulator, Mainly emulates MIPS, but supports other CPU types"
|
||||
HOMEPAGE="http://gxemul.sourceforge.net/"
|
||||
SRC_URI="https://downloads.sourceforge.net/project/gxemul/GXemul/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~mips ~ppc ~sparc ~x86"
|
||||
IUSE="debug X"
|
||||
|
||||
RDEPEND="X? ( x11-libs/libX11 )"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
X? ( x11-base/xorg-proto )
|
||||
"
|
||||
DOCS=( HISTORY README )
|
||||
HTML_DOCS=( doc/. )
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.6.0-gcc46.patch
|
||||
"${FILESDIR}"/${PN}-0.6.0-no-doxygen.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i configure -e 's|-O3||g' || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CC CXX
|
||||
# no autotools
|
||||
local myconfargs=(
|
||||
--disable-valgrind
|
||||
$(use debug && echo --debug)
|
||||
$(use X || echo --disable-x)
|
||||
)
|
||||
./configure "${myconfargs[@]}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
doman man/${PN}.1
|
||||
einstalldocs
|
||||
}
|
||||
Reference in New Issue
Block a user