summaryrefslogtreecommitdiff
blob: 7b3bbb50ca86a093478583cd6e272be5a0012989 (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
30
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit mono wrapper

DESCRIPTION="iCal clone for .NET"
HOMEPAGE="http://www.monocalendar.com/"
SRC_URI="mirror://sourceforge/${PN}/${PN}-source-${PV}.tar.gz"
S="${WORKDIR}/MonoCalendar"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 x86"

DEPEND=">=dev-lang/mono-1.2.1"
RDEPEND="${DEPEND}"

src_compile() {
	emake -C bin/Release
}

src_install() {
	exeinto /usr/$(get_libdir)/${PN}
	doexe bin/Release/*dll
	doexe bin/Release/*.exe

	make_wrapper monocalendar "mono /usr/$(get_libdir)/${PN}/MonoCalendar.exe"
}