diff options
author | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2020-12-31 12:31:49 -0500 |
---|---|---|
committer | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2020-12-31 12:31:49 -0500 |
commit | ae854d46235712cca5de91a54077a4a35b7f8a7b (patch) | |
tree | c1791af25be73605c327c9b9d0b1d8a7ef3efa49 /app-emulation/wine-mono/wine-mono-4.8.1.ebuild | |
parent | fb74a874e380cfaec095d6f81fe37052c5a8d1eb (diff) | |
download | gentoo-overlay-ae854d46235712cca5de91a54077a4a35b7f8a7b.tar.xz gentoo-overlay-ae854d46235712cca5de91a54077a4a35b7f8a7b.zip |
app-emulation/wine-mono: add shared
Diffstat (limited to 'app-emulation/wine-mono/wine-mono-4.8.1.ebuild')
-rw-r--r-- | app-emulation/wine-mono/wine-mono-4.8.1.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/app-emulation/wine-mono/wine-mono-4.8.1.ebuild b/app-emulation/wine-mono/wine-mono-4.8.1.ebuild new file mode 100644 index 0000000..8ac63f1 --- /dev/null +++ b/app-emulation/wine-mono/wine-mono-4.8.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 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}.msi ) + shared? ( https://dl.winehq.org/wine/${PN}/${PV}/${PN}-bin-${PV}.tar.gz ) +" + +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}.msi" + fi +} |