# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eclipse-ext DESCRIPTION="C# Plugin for Eclipse from Improve" HOMEPAGE="http://www.improve-technologies.com/alpha/esharp/" SRC_URI="http://www.improve-technologies.com/alpha/updates/plugins/fr.improve.csharp.editor_${PV}.jar" LICENSE="CPL-0.5" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="app-arch/unzip" RDEPEND=">=dev-util/eclipse-sdk-3" pkg_setup() { eclipse-ext_require-slot 3 || die "No suitable Eclipse found!" } src_unpack() { mkdir -p "${S}" cd "${S}" unpack "${A}" # source file is not required for binary installation rm CsharpPluginsrc.zip # remove write permissions from files find "${WORKDIR}" -exec chmod go-w '{}' ';' } src_compile() { einfo "${P} is a binary package" } src_install () { cd "${WORKDIR}" eclipse-ext_create-ext-layout binary eclipse-ext_install-plugins "${P}" }