summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2011-07-31 08:04:04 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2011-07-31 08:04:04 +0000
commita7321393541f72ba51dadc4724ea0a4e52ec5af4 (patch)
treee65459349a702040179b26a5196000e9609bf461 /dev-lang/ekopath
parentUse PN rather than P in path, in order not to break things relying on compile... (diff)
downloadgentoo-2-a7321393541f72ba51dadc4724ea0a4e52ec5af4.tar.gz
gentoo-2-a7321393541f72ba51dadc4724ea0a4e52ec5af4.tar.bz2
gentoo-2-a7321393541f72ba51dadc4724ea0a4e52ec5af4.zip
Version bump
(Portage version: 2.2.0_alpha49/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/ekopath')
-rw-r--r--dev-lang/ekopath/ChangeLog8
-rw-r--r--dev-lang/ekopath/ekopath-4.0.10_pre20110728.ebuild66
2 files changed, 73 insertions, 1 deletions
diff --git a/dev-lang/ekopath/ChangeLog b/dev-lang/ekopath/ChangeLog
index fa1d2248b25e..ceaf39b62566 100644
--- a/dev-lang/ekopath/ChangeLog
+++ b/dev-lang/ekopath/ChangeLog
@@ -1,6 +1,12 @@
# 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.3 2011/07/31 07:52:56 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ChangeLog,v 1.4 2011/07/31 08:04:04 xarthisius Exp $
+
+*ekopath-4.0.10_pre20110728 (31 Jul 2011)
+
+ 31 Jul 2011; Kacper Kowalik <xarthisius@gentoo.org>
+ +ekopath-4.0.10_pre20110728.ebuild:
+ Version bump
*ekopath-4.0.10_pre20110717-r1 (31 Jul 2011)
diff --git a/dev-lang/ekopath/ekopath-4.0.10_pre20110728.ebuild b/dev-lang/ekopath/ekopath-4.0.10_pre20110728.ebuild
new file mode 100644
index 000000000000..17d3cc49abb2
--- /dev/null
+++ b/dev-lang/ekopath/ekopath-4.0.10_pre20110728.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_pre20110728.ebuild,v 1.1 2011/07/31 08:04:04 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/${PN}
+
+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/${PN}/bin
+ ROOTPATH=/opt/${PN}/bin
+ LDPATH=/opt/${PN}/lib:/opt/${PN}/lib/${MY_PV}/x8664/64
+ EOF
+}
+
+src_install() {
+ ./${P}.run \
+ --prefix "${D}/opt/${PN}" \
+ --mode unattended || die
+ rm -rf "${D}"/opt/${PN}/uninstall || die
+ doenvd "99${PN}"
+}