diff options
-rw-r--r-- | dev-lang/ekopath/ChangeLog | 8 | ||||
-rw-r--r-- | dev-lang/ekopath/ekopath-5.0.1_pre20131115.ebuild | 74 | ||||
-rw-r--r-- | dev-lang/ekopath/metadata.xml | 14 |
3 files changed, 88 insertions, 8 deletions
diff --git a/dev-lang/ekopath/ChangeLog b/dev-lang/ekopath/ChangeLog index 076c8b17a0c4..fb5aa7385aca 100644 --- a/dev-lang/ekopath/ChangeLog +++ b/dev-lang/ekopath/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-lang/ekopath # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ChangeLog,v 1.19 2014/03/17 06:52:09 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ChangeLog,v 1.20 2014/05/20 22:40:56 bicatali Exp $ + +*ekopath-5.0.1_pre20131115 (20 May 2014) + + 20 May 2014; Sébastien Fabbro <bicatali@gentoo.org> + +ekopath-5.0.1_pre20131115.ebuild, metadata.xml: + Version bump, keyworded amd64-linux 17 Mar 2014; Kacper Kowalik <xarthisius@gentoo.org> metadata.xml: Remove myself from metadata.xml diff --git a/dev-lang/ekopath/ekopath-5.0.1_pre20131115.ebuild b/dev-lang/ekopath/ekopath-5.0.1_pre20131115.ebuild new file mode 100644 index 000000000000..09cc07db92ae --- /dev/null +++ b/dev-lang/ekopath/ekopath-5.0.1_pre20131115.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ekopath-5.0.1_pre20131115.ebuild,v 1.1 2014/05/20 22:40:56 bicatali Exp $ + +EAPI=5 + +inherit versionator + +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/${PN}/nightly/Linux/${PN}-${DATE}-installer.run + -> ${P}.run" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~amd64-linux" +IUSE="" + +DEPEND="!!app-arch/rpm" +RDEPEND="" + +RESTRICT="mirror" + +S="${WORKDIR}" + +QA_PREBUILT=" + opt/${PN}/lib/${MY_PV}/x8664/* + opt/${PN}/bin/path* + opt/${PN}/bin/funclookup + opt/${PN}/bin/doctool + opt/${PN}/bin/subclient + opt/${PN}/bin/subserver + opt/${PN}/bin/assign" + +src_unpack() { + cp "${DISTDIR}"/${A} "${S}" || die + chmod +x "${S}"/${P}.run +} + +src_prepare() { + cat > "99${PN}" <<-EOF + PATH=${EROOT%/}/opt/${PN}/bin + ROOTPATH=${EROOT%/}/opt/${PN}/bin + LDPATH=${EROOT%/}/opt/${PN}/lib:${EROOT%/}/opt/${PN}/lib/${MY_PV}/x8664/64 + MANPATH=${EROOT%/}/opt/${PN}/docs/man + EOF +} + +src_install() { + local opts + # You must paxmark -m EI_PAX (not PT_PAX) to run the installer + # on a pax enabled kernel. Adding PT_PAX breaks the binary. + scanelf -Xxz m ${P}.run >> /dev/null + + ./${P}.run \ + --prefix "${ED}/opt/${PN}" \ + --mode unattended \ + ${opts} || die + + # This is a temporary/partial fix to remove a RWX GNU STACK header + # from libstl.so. It still leaves libstl.a in bad shape. + # The correct fix is in the assembly atomic-cxx.S, which we don't get + # See http://www.gentoo.org/proj/en/hardened/gnu-stack.xml + # Section 6. How to fix the stack (in practice) + scanelf -Xe "${ED}/opt/ekopath/lib/${MY_PV}/x8664/64/libstl.so" + + rm -r "${ED}"/opt/${PN}/uninstall || die + doenvd "99${PN}" +} diff --git a/dev-lang/ekopath/metadata.xml b/dev-lang/ekopath/metadata.xml index fde6162c661f..c8c81d4cd1d9 100644 --- a/dev-lang/ekopath/metadata.xml +++ b/dev-lang/ekopath/metadata.xml @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>sci</herd> - <longdescription> - The PathScale EKOPath Compiler Suite offers programmers a rich set of tools and - one of the world's most sophisticated optimization infrastructures to maximize - program performance on any Intel 64 or AMD64 platform supporting Intel MMX, - SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AMD SSE4A and AVX. - </longdescription> +<herd>sci</herd> +<longdescription> + The PathScale EKOPath Compiler Suite offers programmers a rich set of tools and + one of the world's most sophisticated optimization infrastructures to maximize + program performance on any Intel 64 or AMD64 platform supporting Intel MMX, + SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AMD SSE4A and AVX. +</longdescription> </pkgmetadata> |