diff options
Diffstat (limited to 'dev-util/idea-ultimate/idea-ultimate-10.0.1.99.32.ebuild')
-rw-r--r-- | dev-util/idea-ultimate/idea-ultimate-10.0.1.99.32.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-util/idea-ultimate/idea-ultimate-10.0.1.99.32.ebuild b/dev-util/idea-ultimate/idea-ultimate-10.0.1.99.32.ebuild new file mode 100644 index 0000000..facdf0c --- /dev/null +++ b/dev-util/idea-ultimate/idea-ultimate-10.0.1.99.32.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils versionator + +SLOT="$(get_major_version)" +RDEPEND=">=virtual/jdk-1.6" + +MY_PV="$(get_version_component_range 4-5)" +MY_PN="idea" + +RESTRICT="strip" +QA_TEXTRELS="opt/${P}/bin/libbreakgen.so" + +DESCRIPTION="IntelliJ IDEA is an intelligent Java IDE" +HOMEPAGE="http://jetbrains.com/idea/" +SRC_URI="http://download.jetbrains.com/${MY_PN}/${MY_PN}IU-$(get_version_component_range 1-3).tar.gz" +LICENSE="IntelliJ-IDEA" +IUSE="" +KEYWORDS="~x86 ~amd64" +S="${WORKDIR}/${MY_PN}-IU-${MY_PV}" + +RDEPEND="!dev-util/idea-community" + +src_install() { + local dir="/opt/${P}" + insinto "${dir}" + doins -r * + fperms 755 "${dir}/bin/${MY_PN}.sh" + local exe=${MY_PN}-${SLOT} + local icon=${exe}.png + newicon "bin/${MY_PN}32.png" ${icon} + dodir /usr/bin + make_wrapper "$exe" "/opt/${P}/bin/${MY_PN}.sh" + make_desktop_entry ${exe} "IntelliJ IDEA ${PV}" ${icon} "Development;IDE" +} |