inherit eclipse-ext feature_pv="org.apache.maven_${PV}" feature_jar="${feature_pv}.jar" feature_uri="http://mevenide.codehaus.org/release/eclipse/update/features/${feature_jar}" plugin_pv="org.apache.maven_${PV}" plugin_jar="${plugin_pv}.jar" DESCRIPTION="Maven library plugin" HOMEPAGE="http://maven.apache.org/ http://mevenide.codehaus.org/" SRC_URI="http://mevenide.codehaus.org/release/eclipse/update/plugins/${plugin_jar}" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=dev-util/eclipse-sdk-3.1" S="${WORKDIR}" src_unpack() { cd "${S}" mkdir -p features/${feature_pv} plugins/${plugin_pv} cd features # ugly, but there's a file name clash :-/ ebegin "Downloading feature JAR" wget "${feature_uri}" || die "couldn't download feature JAR" eend 0 cd ${feature_pv} jar xf ../${feature_jar} || die rm ../${feature_jar} cd ../../plugins/${plugin_pv} jar xf "${DISTDIR}/${plugin_jar}" || die } src_install () { eclipse-ext_require-slot 3 eclipse-ext_create-ext-layout binary eclipse-ext_install-features features/* eclipse-ext_install-plugins plugins/* }