summaryrefslogtreecommitdiff
path: root/app-emulation/wine-mono/wine-mono-4.8.3.ebuild
blob: 8ac63f13e78f24d1d9a11d7c6cabf5985ddbbf47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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
}