summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul de Vrieze <pauldv@gentoo.org>2013-11-01 08:49:54 +0000
committerPaul de Vrieze <pauldv@gentoo.org>2013-11-01 08:49:54 +0000
commitea9e4092333bb7a298853555040d11c0992900e9 (patch)
tree7061e3f7b509a739c8a8adfea513c13decaf4154 /dev-util
parentNewer snapshot (diff)
downloadpauldv-ea9e4092333bb7a298853555040d11c0992900e9.tar.gz
pauldv-ea9e4092333bb7a298853555040d11c0992900e9.tar.bz2
pauldv-ea9e4092333bb7a298853555040d11c0992900e9.zip
Gradle package
svn path=/trunk/overlay/; revision=159
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/gradle-bin/Manifest2
-rw-r--r--dev-util/gradle-bin/gradle-bin-1.8.ebuild42
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-util/gradle-bin/Manifest b/dev-util/gradle-bin/Manifest
new file mode 100644
index 0000000..46edbf5
--- /dev/null
+++ b/dev-util/gradle-bin/Manifest
@@ -0,0 +1,2 @@
+DIST gradle-1.6-all.zip 51393607 SHA256 ad49b9fbc7dd24d90fc9f8d13227e97bb830b0e6b1c5a5859bd6cf228d1c2dc4 SHA512 6cfed12bc7cb8f27cf35d2e797f89ab0a2c77492ff37cc8203d42543d2aaa29538a855f0b0bcca02c91a7b9139451cf318b0fbd9d6724b2466d5cfa7beb58a26 WHIRLPOOL b79e170fcde60956901992e22e5f0a64e08b759050a4a15f5ba5d6dac3953e0ef84b6a9ac0d590f52819b9be195e2179a83ddefd1a8d0a1824896e82561d0125
+EBUILD gradle-bin-1.6.ebuild 922 SHA256 53b537fd8359554b07ceea29c5ebb7cdc2a8670ac29ae5ac874cf0ee81e8a249 SHA512 d2c883262e3baa81b740c4aa00b75026f60618f92aaffb1909227c7e9a8e14b7db01c6e6998777fff9e288738d08144537e25e414e1d8aeb40f1f8584b276fda WHIRLPOOL 8bae3b516dd06a52632fbbbcea509fe41e4f25fc396b3bf7b4e096a3e145725da56b78de435ad25ddd313ca74c3aa765cb8512266bf50358b9497bca60251d0d
diff --git a/dev-util/gradle-bin/gradle-bin-1.8.ebuild b/dev-util/gradle-bin/gradle-bin-1.8.ebuild
new file mode 100644
index 0000000..7d8b2c9
--- /dev/null
+++ b/dev-util/gradle-bin/gradle-bin-1.8.ebuild
@@ -0,0 +1,42 @@
+EAPI="4"
+inherit java-pkg-2
+
+MY_PN=${PN%%-bin}
+MY_PV=${PV/_pre/-milestone-}
+MY_PV=${MY_PV/_rc/-rc-}
+MY_P="${MY_PN}-${MY_PV}"
+
+DESCRIPTION="Build Tool"
+
+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"
+RDEPEND=">=virtual/jdk-1.5"
+
+IUSE="source doc examples"
+
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+ local gradle_home="${ROOT}/usr/share/${PN}"
+ insinto "${gradle_home}"
+ use source && java-pkg_dosrc src/*
+ use docs && java-pkg_dojavadoc docs
+ use examples && java-pkg_doexamples samples
+ cd lib
+ for jar in *.jar; do
+ java-pkg_newjar ${jar} ${jar}
+ done
+ insinto "${gradle_home}/lib/plugins"
+ doins plugins/*
+
+ cd ..
+ cp -Rp bin "${D}/${gradle_home}" || die "failed to copy"
+
+ dodir /usr/bin
+ dosym "${gradle_home}/bin/gradle" /usr/bin/gradle
+}