/[gentoo-x86]/dev-util/eclipse-subclipse-bin/eclipse-subclipse-bin-0.9.31.ebuild
Gentoo

Contents of /dev-util/eclipse-subclipse-bin/eclipse-subclipse-bin-0.9.31.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Jun 9 09:40:59 2007 UTC (12 years, 4 months ago) by betelgeuse
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Removed eclipse plugin ebuilds from the tree to the junkyard. Use the update manager for now.

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-util/eclipse-subclipse-bin/eclipse-subclipse-bin-0.9.31.ebuild,v 1.2 2006/04/14 03:26:34 nichoj Exp $
4
5 inherit eclipse-ext
6
7 DESCRIPTION="Subversion Integration for Eclipse"
8 HOMEPAGE="http://subclipse.tigris.org/"
9 SRC_URI="http://subclipse.tigris.org/update/plugins/org.tigris.subversion.subclipse_${PV}.jar
10 http://subclipse.tigris.org/update/plugins/org.tigris.subversion.subclipse.core_${PV}.jar
11 http://subclipse.tigris.org/update/plugins/org.tigris.subversion.subclipse.ui_${PV}.jar"
12
13 LICENSE="CPL-1.0"
14 SLOT="1"
15 KEYWORDS="~x86 ~amd64"
16 IUSE=""
17
18 DEPEND="=dev-util/eclipse-sdk-3*
19 dev-util/subversion"
20
21 S=${WORKDIR}
22
23 src_unpack() {
24 local JARFILE=org.tigris.subversion.subclipse_${PV}.jar
25 local PLUGINDIR=${S}/features/${JARFILE%.*}
26 mkdir -p ${PLUGINDIR}
27 cd ${PLUGINDIR}
28 unzip -qo "${DISTDIR}/${JARFILE}" || die "Failed unpacking ${JARFILE}"
29
30 JARFILE=org.tigris.subversion.subclipse.core_${PV}.jar
31 PLUGINDIR=${S}/plugins/${JARFILE%.*}
32 mkdir -p ${PLUGINDIR}
33 cd ${PLUGINDIR}
34 unzip -qo "${DISTDIR}/${JARFILE}" || die "Failed unpacking ${JARFILE}"
35
36 JARFILE=org.tigris.subversion.subclipse.ui_${PV}.jar
37 PLUGINDIR=${S}/plugins/${JARFILE%.*}
38 mkdir -p ${PLUGINDIR}
39 cd ${PLUGINDIR}
40 unzip -qo "${DISTDIR}/${JARFILE}" || die "Failed unpacking ${JARFILE}"
41 }
42
43 src_compile() {
44 einfo "${P} is a binary package"
45 }
46
47 src_install () {
48 eclipse-ext_require-slot 3 || die "Suitable Eclipse installation not found"
49
50 eclipse-ext_create-ext-layout binary || die "Failed to create layout"
51 eclipse-ext_install-features features/* || die "Failed to install features"
52 eclipse-ext_install-plugins plugins/* || die "Failed to install plugins"
53 }

  ViewVC Help
Powered by ViewVC 1.1.20