summaryrefslogtreecommitdiff
blob: 3bf82958d50435279763cdafaf32a2931622336f (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
31
32
33
34
35
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit mono eutils

DESCRIPTION="Gtk# frontend for Internet translation services"
HOMEPAGE="http://laas.altervista.org/youtranslate/ytindex.php"
SRC_URI="http://laas.altervista.org/youtranslate/${P}_src.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND=">=dev-lang/mono-1.0
	>=dev-dotnet/gtk-sharp-2.4
	>=dev-dotnet/glade-sharp-2.4"
RDEPEND="${DEPEND}"

src_unpack() {
	unpack ${A}
	cd ${S}
	epatch "${FILESDIR}/${P}-makefile-depend-bump.patch"
}

src_compile() {
	emake -f Makefile.solution.youtranslate || die "emake failed"
}

src_install() {
	dobin youtranslate.exe "${FILESDIR}/youtranslate"
	doicon yTicon.png
	make_desktop_entry "${PN}" "YouTranslate!" "yTicon" "Utility"
}