public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-lang/vtune/
Date: Fri, 27 Apr 2012 11:42:16 +0000 (UTC)	[thread overview]
Message-ID: <1335380902.536bdeaaf6993fb2f30112be9d17ca1bf872f45f.jlec@gentoo> (raw)

commit:     536bdeaaf6993fb2f30112be9d17ca1bf872f45f
Author:     Nicolas Bigaouette <nbigaouette <AT> gmail <DOT> com>
AuthorDate: Wed Apr 25 19:08:22 2012 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Apr 25 19:08:22 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=536bdeaa

Put symbolic links in /usr/bin and create .desktop file.

---
 dev-lang/vtune/vtune-11.0.7.221625.ebuild |   33 +++++++++++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)

diff --git a/dev-lang/vtune/vtune-11.0.7.221625.ebuild b/dev-lang/vtune/vtune-11.0.7.221625.ebuild
index 73d2506..1d38c36 100644
--- a/dev-lang/vtune/vtune-11.0.7.221625.ebuild
+++ b/dev-lang/vtune/vtune-11.0.7.221625.ebuild
@@ -35,3 +35,36 @@ QA_PRESTRIPPED="
 INTEL_BIN_RPMS="vtune-amplifier-xe-cli vtune-amplifier-xe-gui"
 INTEL_DAT_RPMS="vtune-amplifier-xe-sep vtune-amplifier-xe-pwr vtune-amplifier-xe-cli-common vtune-amplifier-xe-common vtune-amplifier-xe-doc vtune-amplifier-xe-gui-common"
 INTEL_RPMS_DIRS="rpm CLI_install/rpm"
+
+
+create_bin_symlink() {
+    _libdir=$(get_libdir)
+    _arch=${_libdir/lib/}
+    dosym /${INTEL_SDP_DIR}/bin${_arch}/${1} /usr/bin/
+}
+
+src_install() {
+    intel-sdp_src_install
+
+    # Create symbolic links
+    create_bin_symlink amplxe-gui
+    create_bin_symlink amplxe-cl
+    create_bin_symlink amplxe-configurator
+    create_bin_symlink amplxe-feedback
+    create_bin_symlink amplxe-runsa
+    create_bin_symlink amplxe-runss
+
+    # Create desktop file
+    insinto /usr/share/pixmaps/
+    newins ${D}/${INTEL_SDP_DIR}/documentation/en/help/GUID-A894E299-C7E2-4635-AD52-D98A09736EC8-low.jpg vtune.jpg
+    dodir /usr/share/applications
+    echo "[Desktop Entry]
+Encoding=UTF-8
+Name=VTune Amplifier XE
+GenericName=VTune Amplifier XE
+Comment=VTune Amplifier XE
+Type=Application
+Exec=amplxe-gui
+Icon=vtune
+Categories=Development;Debugger;" > ${D}/usr/share/applications/vtune.desktop || die "Can't create desktop file!"
+}



             reply	other threads:[~2012-04-27 11:42 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-27 11:42 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-05-05  6:30 [gentoo-commits] proj/sci:master commit in: dev-lang/vtune/ Matthias Maier
2018-04-03 16:44 Matthias Maier
2018-04-03 16:44 Matthias Maier
2016-02-22 13:25 Justin Lecher
2016-02-22 13:25 Justin Lecher
2015-06-24  9:51 Justin Lecher
2015-02-12  9:14 Justin Lecher
2014-12-02 15:36 Justin Lecher
2014-06-03  7:06 Justin Lecher
2014-02-21 16:19 Justin Lecher
2013-10-02 14:26 Justin Lecher
2013-07-24  9:17 Justin Lecher
2012-05-12 18:07 Alexey Shvetsov
2012-04-27 11:42 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1335380902.536bdeaaf6993fb2f30112be9d17ca1bf872f45f.jlec@gentoo \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox