public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Martin Mokrejs" <mmokrejs@fold.natur.cuni.cz>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/tablet-bin/
Date: Mon, 12 Dec 2011 10:49:44 +0000 (UTC)	[thread overview]
Message-ID: <42c602ccec69da7793ac77c9796766cfd45eb1ce.mmokrejs@gentoo> (raw)

commit:     42c602ccec69da7793ac77c9796766cfd45eb1ce
Author:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Mon Dec 12 10:49:26 2011 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Mon Dec 12 10:49:26 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=42c602cc

added MYPV to the ebuild to make it more easily re-usable

(Portage version: 2.1.10.38/git/Linux i686, unsigned Manifest commit)

---
 sci-biology/tablet-bin/ChangeLog                   |    5 +++++
 .../tablet-bin/tablet-bin-1.11.11.01.ebuild        |    6 ++++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/sci-biology/tablet-bin/ChangeLog b/sci-biology/tablet-bin/ChangeLog
index 92c48b6..7179b14 100644
--- a/sci-biology/tablet-bin/ChangeLog
+++ b/sci-biology/tablet-bin/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  12 Dec 2011; Martin Mokrejs <mmokrejs@fold.natur.cuni.cz>
+  tablet-bin-1.11.11.01.ebuild:
+  added MYPV to the ebuild to make it more easily re-usable
+  tablet-bin-1.11.11.01.ebuild
+
 *tablet-bin-1.11.11.01 (09 Dec 2011)
 
   09 Dec 2011; Martin Mokrejs <mmokrejs@fold.natur.cuni.cz>

diff --git a/sci-biology/tablet-bin/tablet-bin-1.11.11.01.ebuild b/sci-biology/tablet-bin/tablet-bin-1.11.11.01.ebuild
index cd5141d..0867f28 100644
--- a/sci-biology/tablet-bin/tablet-bin-1.11.11.01.ebuild
+++ b/sci-biology/tablet-bin/tablet-bin-1.11.11.01.ebuild
@@ -33,6 +33,8 @@ RDEPEND="${DEPEND}
 		virtual/jre
 		dev-lang/python"
 
+MYPV="$(replace_all_version_separators '_')"
+
 src_install() {
 	# In theory it seems this binary package could be installed through ant
 	# instead of the install4j package which is not easy to be forced
@@ -56,7 +58,7 @@ src_install() {
 	# make sure we force java to point a to $HOME which is inside our sanbox
 	# directory area. We force -Duser.home . It seems also -Dinstall4j.userHome
 	# could be done based on the figure shown at http://resources.ej-technologies.com/install4j/help/doc/
-	sed "s#/bin/java\" -Dinstall4j.jvmDir#/bin/java\" -Duser.home="${D}"/../temp -Dinstall4j.jvmDir#" -i "${DISTDIR}"/tablet_linux_x86_1_11_05_03.sh || die "failed to set userHome value"
-	sh "${DISTDIR}"/tablet_linux_x86_1_11_05_03.sh -q -overwrite -varfile="${DISTDIR}"/response.varfile --destination="${D}"/opt/Tablet -dir "${D}"/opt/Tablet || die "Failed to run the self-extracting exe file"
+	sed "s#/bin/java\" -Dinstall4j.jvmDir#/bin/java\" -Duser.home="${D}"/../temp -Dinstall4j.jvmDir#" -i "${DISTDIR}"/tablet_linux_x86_"${MYPV}".sh || die "failed to set userHome value"
+	sh "${DISTDIR}"/tablet_linux_x86_"${MYPV}".sh -q -overwrite -varfile="${DISTDIR}"/response.varfile --destination="${D}"/opt/Tablet -dir "${D}"/opt/Tablet || die "Failed to run the self-extracting exe file"
 	dobin "${DISTDIR}"/coveragestats.py
 }



             reply	other threads:[~2011-12-12 10:49 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-12 10:49 Martin Mokrejs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-01-18 13:48 [gentoo-commits] proj/sci:master commit in: sci-biology/tablet-bin/ Andrew Ammerlaan
2019-03-25  9:40 Martin Mokrejs
2019-03-25  9:31 Martin Mokrejs
2019-03-25  9:30 Martin Mokrejs
2018-04-02 12:45 Justin Lecher
2017-02-20 11:59 Martin Mokrejs
2017-02-20 10:32 Martin Mokrejs
2017-02-19 10:09 Martin Mokrejs
2017-02-19  0:51 Martin Mokrejs
2016-04-20 19:05 Martin Mokrejs
2015-03-28 16:41 Justin Lecher
2015-03-16  7:03 Justin Lecher
2014-09-16 17:01 Christoph Junghans
2014-07-02 22:42 Martin Mokrejs
2014-01-20 21:19 Martin Mokrejs
2012-02-07 23:39 Martin Mokrejs
2012-02-07 23:39 Martin Mokrejs
2011-12-12 10:59 Martin Mokrejs
2011-12-09 16:53 Martin Mokrejs
2011-12-09 16:41 Martin Mokrejs
2011-06-24 17:09 Justin Lecher
2011-05-04  0:28 Martin Mokrejs
2011-05-04  0:28 Martin Mokrejs
2011-05-04  0:13 Martin Mokrejs
2011-02-14 18:48 Martin Mokrejs

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=42c602ccec69da7793ac77c9796766cfd45eb1ce.mmokrejs@gentoo \
    --to=mmokrejs@fold.natur.cuni.cz \
    --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