From ae854d46235712cca5de91a54077a4a35b7f8a7b Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Thu, 31 Dec 2020 12:31:49 -0500 Subject: app-emulation/wine-mono: add shared --- app-emulation/wine-mono/wine-mono-5.1.1.ebuild | 29 ++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 app-emulation/wine-mono/wine-mono-5.1.1.ebuild (limited to 'app-emulation/wine-mono/wine-mono-5.1.1.ebuild') diff --git a/app-emulation/wine-mono/wine-mono-5.1.1.ebuild b/app-emulation/wine-mono/wine-mono-5.1.1.ebuild new file mode 100644 index 0000000..d0b0688 --- /dev/null +++ b/app-emulation/wine-mono/wine-mono-5.1.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Wine Mono is a replacement for the .NET runtime and class libraries in Wine" +HOMEPAGE="https://www.winehq.org/" +SRC_URI=" + !shared? ( https://dl.winehq.org/wine/${PN}/${PV}/${P}-x86.msi ) + shared? ( https://dl.winehq.org/wine/${PN}/${PV}/${P}-x86.tar.xz ) +" + +LICENSE="BSD-2 GPL-2 LGPL-2.1 MIT MPL-1.1" +SLOT="${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="shared" + +DEPEND="!!app-emulation/wine:0" + +S="${WORKDIR}" + +src_install() { + insinto /usr/share/wine/mono + if use shared; then + doins -r "${P}" + else + doins "${DISTDIR}/${P}-x86.msi" + fi +} -- cgit v1.2.3-54-g00ecf