Gentoo Archives: gentoo-commits

From: "Kacper Kowalik (xarthisius)" <xarthisius@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/ekopath: ekopath-4.0.12.1_pre20120430.ebuild ChangeLog ekopath-4.0.10_pre20110728.ebuild ekopath-4.0.11_pre20110804-r1.ebuild ekopath-4.0.12_pre20111108.ebuild ekopath-4.0.12.1_pre20120205.ebuild
Date: Mon, 30 Apr 2012 19:55:21
Message-Id: 20120430195505.4E45B2004B@flycatcher.gentoo.org
1 xarthisius 12/04/30 19:55:05
2
3 Modified: ChangeLog
4 Added: ekopath-4.0.12.1_pre20120430.ebuild
5 Removed: ekopath-4.0.10_pre20110728.ebuild
6 ekopath-4.0.11_pre20110804-r1.ebuild
7 ekopath-4.0.12_pre20111108.ebuild
8 ekopath-4.0.12.1_pre20120205.ebuild
9 Log:
10 Version bump, drop old
11
12 (Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
13
14 Revision Changes Path
15 1.13 dev-lang/ekopath/ChangeLog
16
17 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ekopath/ChangeLog?rev=1.13&view=markup
18 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ekopath/ChangeLog?rev=1.13&content-type=text/plain
19 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ekopath/ChangeLog?r1=1.12&r2=1.13
20
21 Index: ChangeLog
22 ===================================================================
23 RCS file: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ChangeLog,v
24 retrieving revision 1.12
25 retrieving revision 1.13
26 diff -u -r1.12 -r1.13
27 --- ChangeLog 8 Mar 2012 12:28:14 -0000 1.12
28 +++ ChangeLog 30 Apr 2012 19:55:05 -0000 1.13
29 @@ -1,6 +1,14 @@
30 # ChangeLog for dev-lang/ekopath
31 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
32 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ChangeLog,v 1.12 2012/03/08 12:28:14 xarthisius Exp $
33 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ChangeLog,v 1.13 2012/04/30 19:55:05 xarthisius Exp $
34 +
35 +*ekopath-4.0.12.1_pre20120430 (30 Apr 2012)
36 +
37 + 30 Apr 2012; Kacper Kowalik <xarthisius@g.o>
38 + +ekopath-4.0.12.1_pre20120430.ebuild, -ekopath-4.0.10_pre20110728.ebuild,
39 + -ekopath-4.0.11_pre20110804-r1.ebuild, -ekopath-4.0.12.1_pre20120205.ebuild,
40 + -ekopath-4.0.12_pre20111108.ebuild:
41 + Version bump, drop old
42
43 *ekopath-4.0.12.1_pre20120308 (08 Mar 2012)
44
45
46
47
48 1.1 dev-lang/ekopath/ekopath-4.0.12.1_pre20120430.ebuild
49
50 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ekopath/ekopath-4.0.12.1_pre20120430.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ekopath/ekopath-4.0.12.1_pre20120430.ebuild?rev=1.1&content-type=text/plain
52
53 Index: ekopath-4.0.12.1_pre20120430.ebuild
54 ===================================================================
55 # Copyright 1999-2012 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Header: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ekopath-4.0.12.1_pre20120430.ebuild,v 1.1 2012/04/30 19:55:05 xarthisius Exp $
58
59 EAPI=4
60
61 inherit versionator
62
63 MY_PV=$(get_version_component_range 1-4)
64 DATE=$(get_version_component_range 5)
65 DATE=${DATE/pre}
66 DATE=${DATE:0:4}-${DATE:4:2}-${DATE:6}
67
68 DESCRIPTION="PathScale EKOPath Compiler Suite"
69 HOMEPAGE="http://www.pathscale.com/ekopath-compiler-suite"
70 SRC_URI="http://c591116.r16.cf2.rackcdn.com/${PN}/nightly/Linux/${PN}-${DATE}-installer.run
71 -> ${P}.run"
72
73 LICENSE="GPL-3"
74 SLOT="0"
75 KEYWORDS="~amd64"
76 IUSE=""
77
78 RESTRICT="mirror"
79
80 S=${WORKDIR}
81
82 QA_PREBUILT="
83 opt/${PN}/lib/${MY_PV}/x8664/*
84 opt/${PN}/bin/path*
85 opt/${PN}/bin/funclookup
86 opt/${PN}/bin/doctool
87 opt/${PN}/bin/subclient
88 opt/${PN}/bin/subserver
89 opt/${PN}/bin/assign"
90
91 pkg_pretend() {
92 if has_version app-arch/rpm ; then
93 ewarn "You have app-arch/rpm installed on your system. Therefore"
94 ewarn "${PN} will fail to install due to sandbox violation."
95 ewarn "As this cannot be fixed on distribution level, please use"
96 ewarn "following workaround:"
97 ewarn " emerge -C rpm && emerge -1 ${PN} && emerge -1 rpm"
98 die
99 fi
100 echo opt/${PN}/lib/${MY_PV}/x8664/64/libeh.so
101 }
102
103 src_unpack() {
104 cp "${DISTDIR}"/${A} "${S}" || die
105 chmod +x "${S}"/${P}.run
106 }
107
108 src_prepare() {
109 cat > "99${PN}" <<-EOF
110 PATH=/opt/${PN}/bin
111 ROOTPATH=/opt/${PN}/bin
112 LDPATH=/opt/${PN}/lib:/opt/${PN}/lib/${MY_PV}/x8664/64
113 EOF
114 }
115
116 src_install() {
117 # You must paxmark -m EI_PAX (not PT_PAX) to run the installer
118 # on a pax enabled kernel. Adding PT_PAX breaks the binary.
119 /usr/bin/scanelf -Xxz m ${P}.run >> /dev/null
120
121 ./${P}.run \
122 --prefix "${D}/opt/${PN}" \
123 --disable-components subscriptionmanager \
124 --mode unattended || die
125
126 # This is a temporary/partial fix to remove a RWX GNU STACK header
127 # from libstl.so. It still leaves libstl.a in bad shape.
128 # The correct fix is in the assembly atomic-cxx.S, which we don't get
129 # See http://www.gentoo.org/proj/en/hardened/gnu-stack.xml
130 # Section 6. How to fix the stack (in practice)
131 /usr/bin/scanelf -Xe "${D}/opt/ekopath/lib/4.0.11/x8664/64/libstl.so"
132
133 rm -rf "${D}"/opt/${PN}/uninstall || die
134 rm -rf "${D}"/opt/${PN}/bin/{pathdb,funclookup} || die #libtinfo
135 rm -rf "${D}"/opt/${PN}/lib/${MY_PV}/x8664/coco || die #DT_PATH
136 doenvd "99${PN}"
137 }