From b8a6043c0661700186e8d6297ef8121ac2f7d5b7 Mon Sep 17 00:00:00 2001 From: Kacper Kowalik Date: Mon, 25 Jul 2011 18:25:29 +0000 Subject: Move dev-lang/ekopath-bin to dev-lang/ekopath (Portage version: 2.2.0_alpha46/cvs/Linux x86_64) --- dev-lang/ekopath/ChangeLog | 29 ++++++++++ dev-lang/ekopath/ekopath-4.0.10_pre20110717.ebuild | 66 ++++++++++++++++++++++ dev-lang/ekopath/metadata.xml | 15 +++++ 3 files changed, 110 insertions(+) create mode 100644 dev-lang/ekopath/ChangeLog create mode 100644 dev-lang/ekopath/ekopath-4.0.10_pre20110717.ebuild create mode 100644 dev-lang/ekopath/metadata.xml (limited to 'dev-lang/ekopath') diff --git a/dev-lang/ekopath/ChangeLog b/dev-lang/ekopath/ChangeLog new file mode 100644 index 000000000000..543008da137c --- /dev/null +++ b/dev-lang/ekopath/ChangeLog @@ -0,0 +1,29 @@ +# ChangeLog for dev-lang/ekopath +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ChangeLog,v 1.1 2011/07/25 18:25:29 xarthisius Exp $ + + 23 Jul 2011; Kacper Kowalik + -ekopath-4.0.10_pre20110612.ebuild, + ekopath-4.0.10_pre20110717.ebuild: + Drop old, restrict mirror + + 21 Jul 2011; Kacper Kowalik + ekopath-4.0.10_pre20110717.ebuild: + Workaround fperms issues + +*ekopath-4.0.10_pre20110717 (20 Jul 2011) + + 20 Jul 2011; Kacper Kowalik + +ekopath-4.0.10_pre20110717.ebuild: + Version bump + + 15 Jun 2011; Kacper Kowalik + ekopath-4.0.10_pre20110612.ebuild: + Workaround failure with latest rpm. Thanks to joi for the report + +*ekopath-4.0.10_pre20110612 (15 Jun 2011) + + 15 Jun 2011; Kacper Kowalik + +ekopath-4.0.10_pre20110612.ebuild, +metadata.xml: + Initial import + diff --git a/dev-lang/ekopath/ekopath-4.0.10_pre20110717.ebuild b/dev-lang/ekopath/ekopath-4.0.10_pre20110717.ebuild new file mode 100644 index 000000000000..2d053c03a87f --- /dev/null +++ b/dev-lang/ekopath/ekopath-4.0.10_pre20110717.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ekopath-4.0.10_pre20110717.ebuild,v 1.1 2011/07/25 18:25:29 xarthisius Exp $ + +EAPI=4 + +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" +IUSE="" + +RESTRICT="mirror" + +S=${WORKDIR} + +PATHSCALE_SDP_DIR=/opt/${P} + +QA_PREBUILT=" + ${PATHSCALE_SDP_DIR}/lib/${MY_PV}/x8664/* + ${PATHSCALE_SDP_DIR}/bin/pathcc* + ${PATHSCALE_SDP_DIR}/bin/pathas + ${PATHSCALE_SDP_DIR}/bin/assign" + +pkg_pretend() { + if has_version app-arch/rpm ; then + ewarn "You have app-arch/rpm installed on your system. Therefore" + ewarn "${PN} will fail to install due to sandbox violation." + ewarn "As this cannot be fixed on distribution level, please use" + ewarn "following workaround:" + ewarn " emerge -C rpm && emerge -1 ${PN} && emerge -1 rpm" + die + fi +} + +src_unpack() { + cp "${DISTDIR}"/${A} "${S}" || die + chmod +x "${S}"/${P}.run +} + +src_prepare() { + cat > "99${PN}" <<-EOF + PATH=/opt/${P}/bin + ROOTPATH=/opt/${P}/bin + LDPATH=/opt/${P}/lib + EOF +} + +src_install() { + ./${P}.run \ + --prefix "${D}/opt/${P}" \ + --mode unattended || die + rm -rf "${D}"/opt/${P}/uninstall || die + doenvd "99${PN}" +} diff --git a/dev-lang/ekopath/metadata.xml b/dev-lang/ekopath/metadata.xml new file mode 100644 index 000000000000..3e796a9e40c7 --- /dev/null +++ b/dev-lang/ekopath/metadata.xml @@ -0,0 +1,15 @@ + + + + sci + + xarthisius@gentoo.org + Kacper Kowalik + + + 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. + + -- cgit v1.2.3-65-gdbad