# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit mono eutils MY_PN="Alligator" DESCRIPTION="GTK# RSS aggregator" HOMEPAGE="http://alligator.sf.net" SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-src.zip" LICENSE="CPL-1.0" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=dev-dotnet/gtk-sharp-2.0 >=dev-dotnet/gecko-sharp-0.11" S="${WORKDIR}/${MY_PN}" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${P}-sharedir.patch } src_install() { # Install console launcher newbin ${FILESDIR}/${PN}-launcher.sh alligator # Install libs cd ${S}/bin insinto /usr/lib/${PN}/ doins Alligator.exe Alligator.exe.config ConsoleAlligator.exe Feeds.dll # Install data insinto /usr/share/${PN}/ doins -r xml/ # Desktop entry doicon ${S}/bin/icons/${PN}.png make_desktop_entry ${PN} ${MY_PN} ${PN}.png cd ${S}/doc dodoc NEWS README }