* [gentoo-commits] dev/xarthisius:master commit in: dev-lang/ekopath-bin/
@ 2011-06-15 8:23 Kacper Kowalik
0 siblings, 0 replies; only message in thread
From: Kacper Kowalik @ 2011-06-15 8:23 UTC (permalink / raw
To: gentoo-commits
commit: c63e3566fbde17259033e90267ca7221516458c3
Author: Kacper Kowalik (Xarthisius) <xarthisius.kk <AT> gmail <DOT> com>
AuthorDate: Wed Jun 15 08:23:28 2011 +0000
Commit: Kacper Kowalik <xarthisius <AT> gentoo <DOT> org>
CommitDate: Wed Jun 15 08:23:28 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/xarthisius.git;a=commit;h=c63e3566
[dev-lang/ekopath-bin] don't hardcode integers
---
dev-lang/ekopath-bin/Manifest | 2 +-
.../ekopath-bin-4.0.10_pre20110612.ebuild | 15 +++++++++++----
2 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/dev-lang/ekopath-bin/Manifest b/dev-lang/ekopath-bin/Manifest
index 75d116e..3ebb61f 100644
--- a/dev-lang/ekopath-bin/Manifest
+++ b/dev-lang/ekopath-bin/Manifest
@@ -1,3 +1,3 @@
DIST ekopath-2011-06-12-installer.run 35197047 RMD160 c5effd202bc67cb22b00991217f628873521e3d9 SHA1 9915660c9f226db40a6d3eeed3e9e4b1d0e234a7 SHA256 c2315f1cd2d71b4745b10bf918576d85f37a100f1d2a2381654460f2e0ae97ff
-EBUILD ekopath-bin-4.0.10_pre20110612.ebuild 980 RMD160 0d609919fb800d7b16e5716f30bac20caabdac69 SHA1 5cb49a803ed2ccc0544442d39dd25c65f7150ecc SHA256 89a0eb1a46cbca4527efe8d0674faaebc08a2d2ef98abefa3ba746c155ce537a
+EBUILD ekopath-bin-4.0.10_pre20110612.ebuild 1140 RMD160 58caed3753cb6aa5673451a1894b5cf468080ac9 SHA1 6e4b1474944338c1e6cb5a8d701348a809d35148 SHA256 525007ce8e3e1888ccdf4321f7ddbf4f9b771f5a32bb42d3efbb0a4a67e7940d
MISC metadata.xml 599 RMD160 db4dbce6755b718f4fd34ced77c3e43c3ac49b29 SHA1 254eeaee0fdfe85349ba117190697731991f3e4a SHA256 297871a74cf9d537062c154ce333137ebda79d9a404e4329cfb504bcf5b5c62d
diff --git a/dev-lang/ekopath-bin/ekopath-bin-4.0.10_pre20110612.ebuild b/dev-lang/ekopath-bin/ekopath-bin-4.0.10_pre20110612.ebuild
index b2e0617..1069eea 100644
--- a/dev-lang/ekopath-bin/ekopath-bin-4.0.10_pre20110612.ebuild
+++ b/dev-lang/ekopath-bin/ekopath-bin-4.0.10_pre20110612.ebuild
@@ -4,9 +4,17 @@
EAPI=4
+inherit versionator
+
+MY_PN=${PN/-bin}
+MY_PV=$(get_version_component_range 1-3)
+DATE=$(get_version_component_range 4)
+DATE=${DATE/pre}
+DATE=${DATE:0:4}-${DATE:4:2}-${DATE:6}
+
DESCRIPTION="PathScale EKOPath Compiler Suite"
HOMEPAGE="http://www.pathscale.com/ekopath-compiler-suite"
-SRC_URI="http://c591116.r16.cf2.rackcdn.com/ekopath/nightly/Linux/ekopath-2011-06-12-installer.run"
+SRC_URI="http://c591116.r16.cf2.rackcdn.com/${MY_PN}/nightly/Linux/${MY_PN}-${DATE}-installer.run"
LICENSE="GPL-3"
SLOT="0"
@@ -18,11 +26,10 @@ S=${WORKDIR}
PATHSCALE_SDP_DIR=/opt/${P}
QA_PREBUILT="
- ${PATHSCALE_SDP_DIR}/lib/4.0.10/x8664/*
+ ${PATHSCALE_SDP_DIR}/lib/${MY_PV}/x8664/*
${PATHSCALE_SDP_DIR}/bin/pathcc
${PATHSCALE_SDP_DIR}/bin/pathas
- ${PATHSCALE_SDP_DIR}/bin/assign
-"
+ ${PATHSCALE_SDP_DIR}/bin/assign"
src_unpack() {
cp ${DISTDIR}/${A} ${S}/${P}.run #work around BitRock failing on symlink
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-06-15 8:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-15 8:23 [gentoo-commits] dev/xarthisius:master commit in: dev-lang/ekopath-bin/ Kacper Kowalik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox