From 08bca683c44c20e1a6554d7fd5edb2af25dcdcf7 Mon Sep 17 00:00:00 2001 From: andy Date: Sat, 5 Apr 2014 12:44:13 +0200 Subject: bump gradle-bin --- dev-java/gradle-bin/Manifest | 2 + dev-java/gradle-bin/gradle-bin-1.11.ebuild | 76 ++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 dev-java/gradle-bin/gradle-bin-1.11.ebuild diff --git a/dev-java/gradle-bin/Manifest b/dev-java/gradle-bin/Manifest index 9815fe6..5c287b6 100644 --- a/dev-java/gradle-bin/Manifest +++ b/dev-java/gradle-bin/Manifest @@ -1,2 +1,4 @@ +DIST gradle-1.11-all.zip 56940872 SHA256 07e58cd960722c419eb0f6a807228e7179bb43bc266f390cde4632abdacdd659 SHA512 6361d5eb3a9e72d54235d2696e57cab1c1884ace10c707c99a3919d29a20619025f8964421e57e26e5cda68376eabf2166b231141d77ebf45ec60789793294da WHIRLPOOL ee6c7d7764a9e083a06a3a40916bfbc7995c0a2aaf36bef213213e5717ff68c3d528e9999a5399d70d47f5bb4c54d538b7405433a2ab3b7ead6e95a6ac9162a0 DIST gradle-1.9-all.zip 54348845 SHA256 eeb919fe734bc4a63aaf75c05c19bc55c8bccc925b0eca4269c67f7e8cf48efb SHA512 b34f0c3d11297784532044b73074d96c4309ae382d919ce6504cb2c238fe4709a5d73958de110ea70e529fb9141d8abb00964a293f556b081dd72a58bb0734f9 WHIRLPOOL ddb868d4f97cb965322ec234b652f8322a75a5ca319728c016caa07b69845309b683c2fdbf856663ed74a7973700bcb48cbbd2c3b9ebc412eabdd2af47579b7d +EBUILD gradle-bin-1.11.ebuild 1412 SHA256 1f1ed99ae02e60c0d036f51d6f23527dd41fdc2371c27311cca99260219aaad7 SHA512 aefde2f6e8c6177ef2cd4d637b7860e57d22037e4ea8f8bf03863aef3a43e23512d536492a97c62e3081fdc00f8d8a30479f941293c06af6bafaaf9c175b20f1 WHIRLPOOL e81ea218f4d1f2ff264ddc4aac8c0134ac16d00b07fda64a24f27b3fcd23c0b8de0f2b97697236d64b52284d4785a78d4d3aeffc9e54c4c7fab74990fddb256b EBUILD gradle-bin-1.9.ebuild 1412 SHA256 1f1ed99ae02e60c0d036f51d6f23527dd41fdc2371c27311cca99260219aaad7 SHA512 aefde2f6e8c6177ef2cd4d637b7860e57d22037e4ea8f8bf03863aef3a43e23512d536492a97c62e3081fdc00f8d8a30479f941293c06af6bafaaf9c175b20f1 WHIRLPOOL e81ea218f4d1f2ff264ddc4aac8c0134ac16d00b07fda64a24f27b3fcd23c0b8de0f2b97697236d64b52284d4785a78d4d3aeffc9e54c4c7fab74990fddb256b diff --git a/dev-java/gradle-bin/gradle-bin-1.11.ebuild b/dev-java/gradle-bin/gradle-bin-1.11.ebuild new file mode 100644 index 0000000..d8da5e8 --- /dev/null +++ b/dev-java/gradle-bin/gradle-bin-1.11.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit java-pkg-2 + +MY_PN=${PN%%-bin} +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A project automation and build tool similar to Apache Ant and Apache Maven with a Groovy based DSL" +SRC_URI="http://services.gradle.org/distributions/${MY_P}-all.zip" +HOMEPAGE="http://www.gradle.org/" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~x86 ~amd64" + +DEPEND="app-arch/zip + app-admin/eselect-gradle" +RDEPEND=">=virtual/jdk-1.5" + +IUSE="source doc examples" + +S="${WORKDIR}/${MY_P}" + + +src_unpack() { + unpack ${A} +} + + +src_install() { + local gradle_dir="${EROOT}usr/share/${P}/" + + dodoc changelog.txt getting-started.html + + insinto "${gradle_dir}" + + # source + if use source ; then + java-pkg_dosrc src/* + fi + + # docs + if use doc ; then + java-pkg_dojavadoc docs + fi + + # examples + if use examples ; then + java-pkg_doexamples samples + fi + + # jars in lib/ + cd lib || die "lib/ not found" + for jar in *.jar; do + java-pkg_newjar ${jar} ${jar} + done + + # plugins in lib/plugins + cd plugins + java-pkg_jarinto ${JAVA_PKG_JARDEST}/plugins + for jar in *.jar; do + java-pkg_newjar ${jar} ${jar} + done + + java-pkg_dolauncher "${P}" --main org.gradle.launcher.GradleMain --java_args "-Dgradle.home=${gradle_dir}/lib \${GRADLE_OPTS}" +} + +pkg_postinst() { + eselect gradle update ifunset +} + +pkg_postrm() { + eselect gradle update ifunset +} -- cgit v1.2.3-65-gdbad