Skip to content

Commit

Permalink
eclipse-sdk-bin version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanfrancisroy committed Jan 17, 2014
1 parent c43ea82 commit 4e7e481
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dev-util/eclipse-sdk-bin/Manifest
@@ -1,2 +1,4 @@
DIST eclipse-java-kepler-R-linux-gtk-4.3.tar.gz 157438253 SHA256 c91225bfc03091f8022ffae777d947afb6ab29bc697a793b674759861ded3843 SHA512 e356f52d07581c96bc23e841f820470b8269ddc3ff30e871db9d9dc42d4a251c6a8ede3ccba2374889e184aaa0733e112408f5e14dcc047cab8f228cd0de3204 WHIRLPOOL 9fd115564b5002f649152a89f35ade77cf01c856b9e8f682853c68732ccc73a863e95235f99495bd7caf49360bcf4e2b1d92338b9d25188c1972f7b316ee7d1c
DIST eclipse-java-kepler-R-linux-gtk-x86_64-4.3.tar.gz 157586568 SHA256 b849fb0e53e9d7c44af472c93bd3ddb936b2b503eb8b242ec5adab1208b34001 SHA512 299046da6a7723f1fe17baca473667f97d400477ed34731072541de48d6a9b7d86505bca145af4e65de78a16d8061f99273c02630de51f6068ff66268cc805a3 WHIRLPOOL d7514c80262270773466eb4816ff9b8c28e5a46a3df8eb578a43765c9ba8f45255ccb874263b83636e5d797f56c82722fb0a740a1fcbd238ec7827e6f77a9c33
DIST eclipse-java-kepler-SR1-linux-gtk-4.3.1.tar.gz 157456717 SHA256 422509aa8dad5c2f524e450a0a97e05756794b70c50ac123b0397532e7edeedd SHA512 79cda8918d687ccadc4a4bb4b0ac22ed72eddb4970cbb64bfc555595eb2ff702bf43355bf1db43b303e073396041d7933b9b7894ff0f3f81fe633316d0794648 WHIRLPOOL 73cfa58d2441fa7dafc1be8fb4b0b82adbf5596b42550a67cf5f4b6a3def52886f0b95710e668518b439b66f6026d996f1239c35a40474673169b5e93fc8e5d8
DIST eclipse-java-kepler-SR1-linux-gtk-x86_64-4.3.1.tar.gz 157607208 SHA256 551872c0cede96248e45612f2d086dcf9f7b0c6160bb7da41a1799caa9071ee3 SHA512 4a8987d32e15f1523a2972ae65889578bf714fc062c167151abba9e8d57b19dfffc754b84cfc56a46ce8b7d226eb5113cdc42332dc01c6e120f8977e11fb948b WHIRLPOOL 471e941f61e91db080ef8ff0941d7bbd16341729aa03a171d5173c1ae7aae15930ff1ad834b43cba5ccb9bb3d8b087f7e30ba07689ab04756553c0541b33da65
49 changes: 49 additions & 0 deletions dev-util/eclipse-sdk-bin/eclipse-sdk-bin-4.3.1.ebuild
@@ -0,0 +1,49 @@
# Distributed under the terms of the GNU General Public License v2

EAPI=5

inherit eutils versionator

SR=SR$(get_version_component_range 3)
RNAME="kepler"

SRC_BASE="http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/${RNAME}/${SR}/eclipse-java-${RNAME}-${SR}-linux-gtk"

DESCRIPTION="Eclipse SDK"
HOMEPAGE="http://www.eclipse.org"
SRC_URI="
amd64? ( ${SRC_BASE}-x86_64.tar.gz&r=1 -> eclipse-java-${RNAME}-${SR}-linux-gtk-x86_64-${PV}.tar.gz )
x86? ( ${SRC_BASE}.tar.gz&r=1 -> eclipse-java-${RNAME}-${SR}-linux-gtk-${PV}.tar.gz )"

LICENSE="EPL-1.0"
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="~*"
IUSE=""

RDEPEND="
>=virtual/jdk-1.6
x11-libs/gtk+:2"

S=${WORKDIR}/eclipse

src_install() {
local dest=/opt/${PN}-${SLOT}

insinto ${dest}
doins -r features icon.xpm plugins artifacts.xml p2 eclipse.ini configuration dropins

exeinto ${dest}
doexe eclipse

dohtml -r about.html about_files epl-v10.html notice.html readme/*

cp "${FILESDIR}"/eclipserc-bin "${T}" || die
cp "${FILESDIR}"/eclipse-bin "${T}" || die
sed "s@%SLOT%@${SLOT}@" -i "${T}"/eclipse{,rc}-bin || die

insinto /etc
newins "${T}"/eclipserc-bin eclipserc-bin-${SLOT}

newbin "${T}"/eclipse-bin eclipse-bin-${SLOT}
make_desktop_entry "eclipse-bin-${SLOT}" "Eclipse ${PV} (bin)" "${dest}/icon.xpm"
}

0 comments on commit 4e7e481

Please sign in to comment.