diff options
Diffstat (limited to 'dev-java/gradle-bin/gradle-bin-1.11.ebuild')
-rw-r--r-- | dev-java/gradle-bin/gradle-bin-1.11.ebuild | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/dev-java/gradle-bin/gradle-bin-1.11.ebuild b/dev-java/gradle-bin/gradle-bin-1.11.ebuild deleted file mode 100644 index d8da5e8..0000000 --- a/dev-java/gradle-bin/gradle-bin-1.11.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# 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 -} |