From: | "Kacper Kowalik (xarthisius)" <xarthisius@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-lang/ekopath: ChangeLog ekopath-4.0.10_pre20110728.ebuild |
Date: | Sun, 31 Jul 2011 09:02:12 |
Message-Id: | 20110731080405.020E52004B@flycatcher.gentoo.org |
1 | xarthisius 11/07/31 08:04:04 |
2 | |
3 | Modified: ChangeLog |
4 | Added: ekopath-4.0.10_pre20110728.ebuild |
5 | Log: |
6 | Version bump |
7 | |
8 | (Portage version: 2.2.0_alpha49/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.4 dev-lang/ekopath/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ekopath/ChangeLog?rev=1.4&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ekopath/ChangeLog?rev=1.4&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ekopath/ChangeLog?r1=1.3&r2=1.4 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ChangeLog,v |
20 | retrieving revision 1.3 |
21 | retrieving revision 1.4 |
22 | diff -u -r1.3 -r1.4 |
23 | --- ChangeLog 31 Jul 2011 07:52:56 -0000 1.3 |
24 | +++ ChangeLog 31 Jul 2011 08:04:04 -0000 1.4 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for dev-lang/ekopath |
27 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ChangeLog,v 1.3 2011/07/31 07:52:56 xarthisius Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ChangeLog,v 1.4 2011/07/31 08:04:04 xarthisius Exp $ |
30 | + |
31 | +*ekopath-4.0.10_pre20110728 (31 Jul 2011) |
32 | + |
33 | + 31 Jul 2011; Kacper Kowalik <xarthisius@g.o> |
34 | + +ekopath-4.0.10_pre20110728.ebuild: |
35 | + Version bump |
36 | |
37 | *ekopath-4.0.10_pre20110717-r1 (31 Jul 2011) |
38 | |
39 | |
40 | |
41 | |
42 | 1.1 dev-lang/ekopath/ekopath-4.0.10_pre20110728.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ekopath/ekopath-4.0.10_pre20110728.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ekopath/ekopath-4.0.10_pre20110728.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: ekopath-4.0.10_pre20110728.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2011 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ekopath-4.0.10_pre20110728.ebuild,v 1.1 2011/07/31 08:04:04 xarthisius Exp $ |
52 | |
53 | EAPI=4 |
54 | |
55 | inherit versionator |
56 | |
57 | MY_PV=$(get_version_component_range 1-3) |
58 | DATE=$(get_version_component_range 4) |
59 | DATE=${DATE/pre} |
60 | DATE=${DATE:0:4}-${DATE:4:2}-${DATE:6} |
61 | |
62 | DESCRIPTION="PathScale EKOPath Compiler Suite" |
63 | HOMEPAGE="http://www.pathscale.com/ekopath-compiler-suite" |
64 | SRC_URI="http://c591116.r16.cf2.rackcdn.com/${PN}/nightly/Linux/${PN}-${DATE}-installer.run |
65 | -> ${P}.run" |
66 | |
67 | LICENSE="GPL-3" |
68 | SLOT="0" |
69 | KEYWORDS="~amd64" |
70 | IUSE="" |
71 | |
72 | RESTRICT="mirror" |
73 | |
74 | S=${WORKDIR} |
75 | |
76 | PATHSCALE_SDP_DIR=/opt/${PN} |
77 | |
78 | QA_PREBUILT=" |
79 | ${PATHSCALE_SDP_DIR}/lib/${MY_PV}/x8664/* |
80 | ${PATHSCALE_SDP_DIR}/bin/pathcc* |
81 | ${PATHSCALE_SDP_DIR}/bin/pathas |
82 | ${PATHSCALE_SDP_DIR}/bin/assign" |
83 | |
84 | pkg_pretend() { |
85 | if has_version app-arch/rpm ; then |
86 | ewarn "You have app-arch/rpm installed on your system. Therefore" |
87 | ewarn "${PN} will fail to install due to sandbox violation." |
88 | ewarn "As this cannot be fixed on distribution level, please use" |
89 | ewarn "following workaround:" |
90 | ewarn " emerge -C rpm && emerge -1 ${PN} && emerge -1 rpm" |
91 | die |
92 | fi |
93 | } |
94 | |
95 | src_unpack() { |
96 | cp "${DISTDIR}"/${A} "${S}" || die |
97 | chmod +x "${S}"/${P}.run |
98 | } |
99 | |
100 | src_prepare() { |
101 | cat > "99${PN}" <<-EOF |
102 | PATH=/opt/${PN}/bin |
103 | ROOTPATH=/opt/${PN}/bin |
104 | LDPATH=/opt/${PN}/lib:/opt/${PN}/lib/${MY_PV}/x8664/64 |
105 | EOF |
106 | } |
107 | |
108 | src_install() { |
109 | ./${P}.run \ |
110 | --prefix "${D}/opt/${PN}" \ |
111 | --mode unattended || die |
112 | rm -rf "${D}"/opt/${PN}/uninstall || die |
113 | doenvd "99${PN}" |
114 | } |