Mercurial > hg > portage
changeset 278:4053ff69911f
bump maven to 3.0.3
author | holger |
---|---|
date | Fri, 04 Mar 2011 12:17:45 +0100 |
parents | 22edaac20067 |
children | a5d43ca434f7 |
files | dev-java/maven-bin/Manifest dev-java/maven-bin/maven-bin-3.0.2.ebuild dev-java/maven-bin/maven-bin-3.0.3.ebuild |
diffstat | 3 files changed, 51 insertions(+), 51 deletions(-) [+] |
line wrap: on
line diff
--- a/dev-java/maven-bin/Manifest Thu Feb 03 16:07:30 2011 +0100 +++ b/dev-java/maven-bin/Manifest Fri Mar 04 12:17:45 2011 +0100 @@ -1,2 +1,2 @@ -DIST apache-maven-3.0.2-bin.tar.gz 2968629 RMD160 26214da3e72cd8b9ea0fea0bb81e740b94ae0463 SHA1 eedd18952c373824c32b2fa891569bdf3776f650 SHA256 c7a70e37cbd564a6025288e381e6ad56e20ae2fa537b2eddf3b9e3bc644b0814 -EBUILD maven-bin-3.0.2.ebuild 1254 RMD160 ad6feea9826ec58c2deca437899caab482cdd580 SHA1 1a3d4f2ecffaf69a830770258397d9cbb37bbfa6 SHA256 c70e594f7bc803fcbfd4256cfe1cfe189e568c42752305e22ff3af0f79d67792 +DIST apache-maven-3.0.3-bin.tar.gz 3054807 RMD160 f222733f32badab75c11e0ed3fbca2e594de7328 SHA1 cfd1f5ef8ebb2f09a9446159842cf7cfa1a3ccd6 SHA256 b845479bd5d6d821210d3530c65da628a118abedd176492741e1d9bc5e400e2a +EBUILD maven-bin-3.0.3.ebuild 1254 RMD160 ad6feea9826ec58c2deca437899caab482cdd580 SHA1 1a3d4f2ecffaf69a830770258397d9cbb37bbfa6 SHA256 c70e594f7bc803fcbfd4256cfe1cfe189e568c42752305e22ff3af0f79d67792
--- a/dev-java/maven-bin/maven-bin-3.0.2.ebuild Thu Feb 03 16:07:30 2011 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,49 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/maven-bin-3.0.2.ebuild,v 1.1 2011/01/15 12:25:40 fordfrog Exp $ - -inherit java-pkg-2 - -MY_PN=apache-${PN%%-bin} -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Project Management and Comprehension Tool for Java" -SRC_URI="mirror://apache/maven/binaries/${MY_P}-bin.tar.gz" -HOMEPAGE="http://maven.apache.org/" -LICENSE="Apache-2.0" -SLOT="3.0" -KEYWORDS="~amd64 ~ppc ~x86" - -RDEPEND=">=virtual/jdk-1.5 - app-admin/eselect-maven" - -IUSE="" - -S="${WORKDIR}/${MY_P}" - -MAVEN=${PN}-${SLOT} -MAVEN_SHARE="/usr/share/${MAVEN}" - -src_unpack() { - unpack ${A} - - rm -v "${S}"/bin/*.bat || die - chmod 644 "${S}"/boot/*.jar "${S}"/lib/*.jar "${S}"/conf/settings.xml || die -} - -# TODO we should use jars from packages, instead of what is bundled -src_install() { - dodir "${MAVEN_SHARE}" - cp -Rp bin boot conf lib "${D}/${MAVEN_SHARE}" || die "failed to copy" - - java-pkg_regjar "${D}/${MAVEN_SHARE}"/lib/*.jar - - dodoc NOTICE.txt README.txt || die - - dodir /usr/bin - dosym "${MAVEN_SHARE}/bin/mvn" /usr/bin/mvn-${SLOT} - - # bug #342901 - echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die - doenvd "${T}/25${MAVEN}" -}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dev-java/maven-bin/maven-bin-3.0.3.ebuild Fri Mar 04 12:17:45 2011 +0100 @@ -0,0 +1,49 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/maven-bin-3.0.2.ebuild,v 1.1 2011/01/15 12:25:40 fordfrog Exp $ + +inherit java-pkg-2 + +MY_PN=apache-${PN%%-bin} +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Project Management and Comprehension Tool for Java" +SRC_URI="mirror://apache/maven/binaries/${MY_P}-bin.tar.gz" +HOMEPAGE="http://maven.apache.org/" +LICENSE="Apache-2.0" +SLOT="3.0" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND=">=virtual/jdk-1.5 + app-admin/eselect-maven" + +IUSE="" + +S="${WORKDIR}/${MY_P}" + +MAVEN=${PN}-${SLOT} +MAVEN_SHARE="/usr/share/${MAVEN}" + +src_unpack() { + unpack ${A} + + rm -v "${S}"/bin/*.bat || die + chmod 644 "${S}"/boot/*.jar "${S}"/lib/*.jar "${S}"/conf/settings.xml || die +} + +# TODO we should use jars from packages, instead of what is bundled +src_install() { + dodir "${MAVEN_SHARE}" + cp -Rp bin boot conf lib "${D}/${MAVEN_SHARE}" || die "failed to copy" + + java-pkg_regjar "${D}/${MAVEN_SHARE}"/lib/*.jar + + dodoc NOTICE.txt README.txt || die + + dodir /usr/bin + dosym "${MAVEN_SHARE}/bin/mvn" /usr/bin/mvn-${SLOT} + + # bug #342901 + echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die + doenvd "${T}/25${MAVEN}" +}