Move dev-lang/ekopath-bin to dev-lang/ekopath
authorKacper Kowalik <xarthisius@gentoo.org>
Mon, 25 Jul 2011 18:25:29 +0000 (18:25 +0000)
committerKacper Kowalik <xarthisius@gentoo.org>
Mon, 25 Jul 2011 18:25:29 +0000 (18:25 +0000)
Package-Manager: portage-2.2.0_alpha46/cvs/Linux x86_64

dev-lang/ekopath/ChangeLog [new file with mode: 0644]
dev-lang/ekopath/Manifest [new file with mode: 0644]
dev-lang/ekopath/ekopath-4.0.10_pre20110717.ebuild [new file with mode: 0644]
dev-lang/ekopath/metadata.xml [new file with mode: 0644]

diff --git a/dev-lang/ekopath/ChangeLog b/dev-lang/ekopath/ChangeLog
new file mode 100644 (file)
index 0000000..543008d
--- /dev/null
@@ -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 <xarthisius@gentoo.org>
+  -ekopath-4.0.10_pre20110612.ebuild,
+  ekopath-4.0.10_pre20110717.ebuild:
+  Drop old, restrict mirror
+
+  21 Jul 2011; Kacper Kowalik <xarthisius@gentoo.org>
+  ekopath-4.0.10_pre20110717.ebuild:
+  Workaround fperms issues
+
+*ekopath-4.0.10_pre20110717 (20 Jul 2011)
+
+  20 Jul 2011; Kacper Kowalik <xarthisius@gentoo.org>
+  +ekopath-4.0.10_pre20110717.ebuild:
+  Version bump
+
+  15 Jun 2011; Kacper Kowalik <xarthisius@gentoo.org>
+  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 <xarthisius@gentoo.org>
+  +ekopath-4.0.10_pre20110612.ebuild, +metadata.xml:
+  Initial import
+
diff --git a/dev-lang/ekopath/Manifest b/dev-lang/ekopath/Manifest
new file mode 100644 (file)
index 0000000..b06f9e8
--- /dev/null
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST ekopath-4.0.10_pre20110717.run 35461851 RMD160 fde252cfcf50a7716cdf6b9088dbc5f173be5a64 SHA1 3240775874c0f8709a27e74354478dcaa03036d5 SHA256 55f2f2c63a4fddc056030e945ff91ecea392ef1acc2f806ea2c7ebba6b805602
+EBUILD ekopath-4.0.10_pre20110717.ebuild 1590 RMD160 0e8b1335b84b94bd4ad660e133c42457e7874a72 SHA1 7d3acd0d5010138169eac7897c54ac3b8360d6ea SHA256 52461b736e21aa3dfa6f4e29a651ed35d31ff5aabea7853469414e826f73445d
+MISC ChangeLog 964 RMD160 2ad048d63fd815867cde071409a8dde9bc330a18 SHA1 a7f4b2b9857a2a171b7db5ff1a6c395855bb239f SHA256 a26766260758d326f3e26aebb33f82f92211bf3d5fc4d3709cbefc7a15224423
+MISC metadata.xml 595 RMD160 0511b409a0d8423fabc6cb3f70c34a2138a7cb6b SHA1 daab1fb73ebf67abf36f1131014d0bd1ea7bd0d7 SHA256 18598a62f173c7cbe97b0c970c180e6202d17075d1455bafd8aab4c39ab8d45d
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iJwEAQECAAYFAk4ttSMACgkQIiMqcbOVdxSKFgP9Hv0nayOc+qvlK3QQfK+yvfwZ
+QtNunZVAdISwrUghrCz2+ICs4VyUhkI30IcWKdeqoZTk1+CQIKVm7FKNhmrqkspJ
+EVptGv4zdnL5xdvxGlREX+l11RwuE/BN9+ip005YrOgZsn/lqnKwoiey1oIlN3XA
+EjsWoFefKRlCVDpIsTQ=
+=YIld
+-----END PGP SIGNATURE-----
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 (file)
index 0000000..2d053c0
--- /dev/null
@@ -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 (file)
index 0000000..3e796a9
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd>sci</herd>
+       <maintainer>
+               <email>xarthisius@gentoo.org</email>
+               <name>Kacper Kowalik</name>
+       </maintainer>
+       <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>