diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2017-01-24 11:56:59 +0000 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2017-01-24 11:57:28 +0000 |
commit | f5c210dc87fd09e1e4770339195fb1021ba3f59c (patch) | |
tree | 77fde5327a8f93a7bd83c4eb54b0c6a868c749db /dev-java/gradle-bin | |
parent | media-libs/freetype: Replaced autotools with libtool eclass. (diff) | |
download | gentoo-f5c210dc87fd09e1e4770339195fb1021ba3f59c.tar.gz gentoo-f5c210dc87fd09e1e4770339195fb1021ba3f59c.tar.bz2 gentoo-f5c210dc87fd09e1e4770339195fb1021ba3f59c.zip |
dev-java/gradle-bin: Initial commit. Ebuild by Florian "Flowdalic" Schmaus, some minor changes by me.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-java/gradle-bin')
-rw-r--r-- | dev-java/gradle-bin/Manifest | 1 | ||||
-rw-r--r-- | dev-java/gradle-bin/gradle-bin-3.3.ebuild | 52 | ||||
-rw-r--r-- | dev-java/gradle-bin/metadata.xml | 16 |
3 files changed, 69 insertions, 0 deletions
diff --git a/dev-java/gradle-bin/Manifest b/dev-java/gradle-bin/Manifest new file mode 100644 index 000000000000..2e6cfe34ee5e --- /dev/null +++ b/dev-java/gradle-bin/Manifest @@ -0,0 +1 @@ +DIST gradle-3.3-all.zip 91388147 SHA256 71a787faed83c4ef21e8464cc8452b941b5fcd575043aa29d39d15d879be89f7 SHA512 4b852eaf4030c780516fe9214c289e49fc93fc62672da70b7fd6bbbcd128e6912dd196195ce32570984503ea53b48593a41fbf4ec69b0f18b5e32c2fe9e556b3 WHIRLPOOL d2058d046137b507aecae0ac8ebdc719dc1e1c253162be1975ff9daaca04178398b7621c142ed467a8608bf99d952c1046306aeb3b96626bf70899d7213ba91b diff --git a/dev-java/gradle-bin/gradle-bin-3.3.ebuild b/dev-java/gradle-bin/gradle-bin-3.3.ebuild new file mode 100644 index 000000000000..1831da079eee --- /dev/null +++ b/dev-java/gradle-bin/gradle-bin-3.3.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="6" + +inherit java-pkg-2 + +MY_PN=${PN%%-bin} +MY_P="${MY_PN}-${PV/_rc/-rc-}" + +DESCRIPTION="A project automation and build tool 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="${PV}" +KEYWORDS="~x86 ~amd64" + +DEPEND="app-arch/zip" +RDEPEND=">=virtual/jdk-1.6" + +IUSE="source doc examples" + +S="${WORKDIR}/${MY_P}" + +src_install() { + local gradle_dir="${EROOT}usr/share/${PN}-${SLOT}" + + dodoc docs/release-notes.html 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/javadoc + fi + + # examples + if use examples ; then + java-pkg_doexamples samples + fi + + insinto "${gradle_dir}" + doins -r bin/ lib/ + fperms 755 "${gradle_dir}/bin/gradle" + dosym "${gradle_dir}/bin/gradle" "/usr/bin/${MY_PN}" +} diff --git a/dev-java/gradle-bin/metadata.xml b/dev-java/gradle-bin/metadata.xml new file mode 100644 index 000000000000..6ba59b53805c --- /dev/null +++ b/dev-java/gradle-bin/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>chainsaw@gentoo.org</email> + <name>Tony Vroon</name> + </maintainer> + <maintainer type="person"> + <email>flo@geekplace.eu</email> + <description>Maintainer, CC him on bugs</description> + </maintainer> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> +</pkgmetadata> |