annotate app-admin/eselect-maven/eselect-maven-0.2.ebuild @ 245:0939a205e18f

ebuild for Maven 3 final
author Dirk Olmes <dirk@xanthippe.ping.de>
date Mon, 04 Oct 2010 18:03:57 +0200
parents e47d333b24b0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
222
e47d333b24b0 update eselect-maven to allow for mvn3
holger
parents:
diff changeset
1 # Copyright 1999-2010 Gentoo Foundation
e47d333b24b0 update eselect-maven to allow for mvn3
holger
parents:
diff changeset
2 # Distributed under the terms of the GNU General Public License v2
e47d333b24b0 update eselect-maven to allow for mvn3
holger
parents:
diff changeset
3 # $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-maven/eselect-maven-0.2.ebuild,v 1.2 2010/04/26 07:50:50 phajdan.jr Exp $
e47d333b24b0 update eselect-maven to allow for mvn3
holger
parents:
diff changeset
4
e47d333b24b0 update eselect-maven to allow for mvn3
holger
parents:
diff changeset
5 EAPI=3
e47d333b24b0 update eselect-maven to allow for mvn3
holger
parents:
diff changeset
6
e47d333b24b0 update eselect-maven to allow for mvn3
holger
parents:
diff changeset
7 DESCRIPTION="Manages Maven symlinks"
e47d333b24b0 update eselect-maven to allow for mvn3
holger
parents:
diff changeset
8 HOMEPAGE="http://www.gentoo.org/"
e47d333b24b0 update eselect-maven to allow for mvn3
holger
parents:
diff changeset
9 SRC_URI=""
e47d333b24b0 update eselect-maven to allow for mvn3
holger
parents:
diff changeset
10
e47d333b24b0 update eselect-maven to allow for mvn3
holger
parents:
diff changeset
11 LICENSE="GPL-2"
e47d333b24b0 update eselect-maven to allow for mvn3
holger
parents:
diff changeset
12 SLOT="0"
e47d333b24b0 update eselect-maven to allow for mvn3
holger
parents:
diff changeset
13 KEYWORDS="~amd64 ~ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
e47d333b24b0 update eselect-maven to allow for mvn3
holger
parents:
diff changeset
14 IUSE=""
e47d333b24b0 update eselect-maven to allow for mvn3
holger
parents:
diff changeset
15
e47d333b24b0 update eselect-maven to allow for mvn3
holger
parents:
diff changeset
16 RDEPEND=">=app-admin/eselect-1.2.8
e47d333b24b0 update eselect-maven to allow for mvn3
holger
parents:
diff changeset
17 !<dev-java/maven-bin-2.0.10-r1:2.1"
e47d333b24b0 update eselect-maven to allow for mvn3
holger
parents:
diff changeset
18 PDEPEND="
e47d333b24b0 update eselect-maven to allow for mvn3
holger
parents:
diff changeset
19 || (
e47d333b24b0 update eselect-maven to allow for mvn3
holger
parents:
diff changeset
20 dev-java/maven-bin:3.0
e47d333b24b0 update eselect-maven to allow for mvn3
holger
parents:
diff changeset
21 dev-java/maven-bin:2.2
e47d333b24b0 update eselect-maven to allow for mvn3
holger
parents:
diff changeset
22 dev-java/maven-bin:2.1
e47d333b24b0 update eselect-maven to allow for mvn3
holger
parents:
diff changeset
23 dev-java/maven-bin:2.0
e47d333b24b0 update eselect-maven to allow for mvn3
holger
parents:
diff changeset
24 )"
e47d333b24b0 update eselect-maven to allow for mvn3
holger
parents:
diff changeset
25
e47d333b24b0 update eselect-maven to allow for mvn3
holger
parents:
diff changeset
26 src_install() {
e47d333b24b0 update eselect-maven to allow for mvn3
holger
parents:
diff changeset
27 insinto /usr/share/eselect/modules
e47d333b24b0 update eselect-maven to allow for mvn3
holger
parents:
diff changeset
28 newins "${FILESDIR}/maven-${PV}.eselect" maven.eselect \
e47d333b24b0 update eselect-maven to allow for mvn3
holger
parents:
diff changeset
29 || die "newins failed"
e47d333b24b0 update eselect-maven to allow for mvn3
holger
parents:
diff changeset
30 }