# Copyright 1999-2008 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://www.laas02.org/?page_id=17" SRC_URI="http://www.laas02.org/wp-content/res/yt/${P}_src.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~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} mv "${S}_src" ${S} cp "${FILESDIR}/${PV}-Makefile" "${S}/Makefile" || die "cp Makefile failed" cp "${FILESDIR}/${PV}-Makefile.${PN}" "${S}/Makefile.${PN}" || die "cp Makefile.${PN} failed" } src_install() { dobin youtranslate.exe "${FILESDIR}/youtranslate" doicon images/yTicon.png doicon images/yTlogo.png make_desktop_entry "${PN}" "YouTranslate!" yTicon "Office;Dictionary" }