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
This commit is contained in:
Tony Vroon
2017-01-24 11:56:59 +00:00
parent a5bd2a2819
commit f5c210dc87
3 changed files with 69 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST gradle-3.3-all.zip 91388147 SHA256 71a787faed83c4ef21e8464cc8452b941b5fcd575043aa29d39d15d879be89f7 SHA512 4b852eaf4030c780516fe9214c289e49fc93fc62672da70b7fd6bbbcd128e6912dd196195ce32570984503ea53b48593a41fbf4ec69b0f18b5e32c2fe9e556b3 WHIRLPOOL d2058d046137b507aecae0ac8ebdc719dc1e1c253162be1975ff9daaca04178398b7621c142ed467a8608bf99d952c1046306aeb3b96626bf70899d7213ba91b

View File

@@ -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}"
}

View File

@@ -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>