aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flo@geekplace.eu>2019-02-04 10:01:27 +0100
committerFlorian Schmaus <flo@geekplace.eu>2019-02-04 11:24:19 +0100
commitbfb25ae5f259c3bb7f965ec65d2a4379f656f430 (patch)
treed3618a60bf3ce128cab66e488730180939355f5d
parentdev-java/icedtea: Update to 3.11.0pre01, removing SunEC USE flag (diff)
downloadjava-bfb25ae5f259c3bb7f965ec65d2a4379f656f430.tar.gz
java-bfb25ae5f259c3bb7f965ec65d2a4379f656f430.tar.bz2
java-bfb25ae5f259c3bb7f965ec65d2a4379f656f430.zip
dev-java/gradle-bin: Add 5.1.1
Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Florian Schmaus <flo@geekplace.eu>
-rw-r--r--dev-java/gradle-bin/Manifest1
-rw-r--r--dev-java/gradle-bin/gradle-bin-5.1.1.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-java/gradle-bin/Manifest b/dev-java/gradle-bin/Manifest
index 3f837b8b..f3667743 100644
--- a/dev-java/gradle-bin/Manifest
+++ b/dev-java/gradle-bin/Manifest
@@ -3,3 +3,4 @@ DIST gradle-4.10.2-all.zip 116855693 BLAKE2B 43c12ad5eb9abc7349921a446f957cc1e58
DIST gradle-4.4.1-all.zip 99180462 BLAKE2B 8b961f3ef296191dbd3415d7428ba943fbcadca0d69d6b77ba60d91a50b69f55be86cb564672e5390caf8e753234aac572d8fce69c2a79321cacf3d3ea035e5b SHA512 f281be409fee7c0b554c0920dd01a09eee0449cc8894e364a0174181836cf4ab986d078ea9fa48acfd16c8900d44cafedf3daeb804f0996f67af2438f5857233
DIST gradle-4.5.1-all.zip 101862201 BLAKE2B f109a74c28dd839ed099aa8fb69a3397617ea1701230017dc778bacf320a9a864d95979960fe9b1a4ec3714d73bd590013a423aa553fcd37719ee4fbfda49d2e SHA512 914fa381b996d91eb6ef57b4a4855d3cb6dd3ae05f3febed4bb6a114d47e166ed36c60f1277015c8ca21f7f727e3cc82ec208da85458ab9f56d7cad074b09caf
DIST gradle-5.1-all.zip 130659636 BLAKE2B ecf2e5ece8063200a1878dd8dc37a77a8d5eec8d7d7484b3b96cd7850d205d4969083733982f4bca96d0bfc0d95fad6864d6516feea1295e20ebdc75f01250ec SHA512 f2f08e6b29f065036e2e381d1ef5d77ab3f06a427a27b3f72137957b151b13ba74b67653595aeddd5f7e9b710a57b5abaefa7d1cbbc1ae9fb06cc630fff018ac
+DIST gradle-5.1.1-all.zip 130765970 BLAKE2B 95b4ceb2e06b62607b9151bd085ab607c0939f3d6c5a1abf23e2f14ec54b5b3bc26c02fce2db9d3e77be6e219a72a7d0faa4d8edfaa072d2bcd9b65e03e98243 SHA512 31f43751d517f5ecf47ba66332563bc7ca1a3145adfb09190ec0232107fc812a7e8114a1d374aeb2378c88f6433b2d15f58f80706bb8e166e7a1be8a8a444d71
diff --git a/dev-java/gradle-bin/gradle-bin-5.1.1.ebuild b/dev-java/gradle-bin/gradle-bin-5.1.1.ebuild
new file mode 100644
index 00000000..2ce1bb0f
--- /dev/null
+++ b/dev-java/gradle-bin/gradle-bin-5.1.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+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="~amd64 ~x86"
+
+DEPEND="app-arch/zip
+ app-eselect/eselect-gradle"
+RDEPEND=">=virtual/jdk-1.6"
+
+IUSE="source doc examples"
+
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+ local gradle_dir="${EPREFIX}/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/${PN}-${SLOT}"
+}
+
+pkg_postinst() {
+ eselect gradle update ifunset
+}
+
+pkg_postrm() {
+ eselect gradle update ifunset
+}