diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-09-30 12:08:07 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-09-30 12:08:07 +0000 |
commit | 5c46ca2837ab51b914400549978a73f4795d1090 (patch) | |
tree | d454684457b89d56f4b6a5b681692149e51699db /dev-lang/sunstudioexpress | |
parent | Cleanup (diff) | |
download | gentoo-2-5c46ca2837ab51b914400549978a73f4795d1090.tar.gz gentoo-2-5c46ca2837ab51b914400549978a73f4795d1090.tar.bz2 gentoo-2-5c46ca2837ab51b914400549978a73f4795d1090.zip |
Initial import of the Sun Studio Express compiler suite.
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 x86_64)
Diffstat (limited to 'dev-lang/sunstudioexpress')
-rw-r--r-- | dev-lang/sunstudioexpress/ChangeLog | 10 | ||||
-rw-r--r-- | dev-lang/sunstudioexpress/Manifest | 4 | ||||
-rw-r--r-- | dev-lang/sunstudioexpress/metadata.xml | 8 | ||||
-rw-r--r-- | dev-lang/sunstudioexpress/sunstudioexpress-2008.07.24.ebuild | 56 |
4 files changed, 78 insertions, 0 deletions
diff --git a/dev-lang/sunstudioexpress/ChangeLog b/dev-lang/sunstudioexpress/ChangeLog new file mode 100644 index 000000000000..d7b0eb7f3b63 --- /dev/null +++ b/dev-lang/sunstudioexpress/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-lang/sunstudioexpress +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/sunstudioexpress/ChangeLog,v 1.1 2008/09/30 12:08:07 flameeyes Exp $ + +*sunstudioexpress-2008.07.24 (30 Sep 2008) + + 30 Sep 2008; Diego Pettenò <flameeyes@gentoo.org> +metadata.xml, + +sunstudioexpress-2008.07.24.ebuild: + Initial import of the Sun Studio Express compiler suite. + diff --git a/dev-lang/sunstudioexpress/Manifest b/dev-lang/sunstudioexpress/Manifest new file mode 100644 index 000000000000..cd1d440a6d21 --- /dev/null +++ b/dev-lang/sunstudioexpress/Manifest @@ -0,0 +1,4 @@ +DIST StudioExpress-linux-x86-2008-07-24-ii.sh 148112958 RMD160 cc472c6c53e507848c3297c9bef187dc3f3485a1 SHA1 84eb677e1b25788140c31295a5e90bb15891801d SHA256 8fa26ac4a99e658eaa0e2cc621d09f87a8041b6acc762c33b9c86f760661b8ff +EBUILD sunstudioexpress-2008.07.24.ebuild 1306 RMD160 e71da6b7c9232140df59e0de994b5a8e281ed304 SHA1 2804fc5a237d129dc36b646d691676d26bbbb34e SHA256 aa0427742c9e1f7b7d6f4fd07303600cf6ec4031051fc157d56c8b2b6159cdb5 +MISC ChangeLog 337 RMD160 6174b878f75829da5f519d906d60f572ad77f84a SHA1 4cc99e0f49e9bba2be5366dcb6c25600e1fc7721 SHA256 7e1e872268b7e0e990d58e88bf8b27c9dfeb3dac8727aa71bf3c30c0bf5b44c8 +MISC metadata.xml 233 RMD160 da5a1d3b7836dcebb5fec29696b5bfb583fe346c SHA1 1c7142c677598358888a6cfc6f6f65df2e8b6901 SHA256 4d1294dc1b2a6f96aa637a0b8d340bc67191103af0f15197d07fc62446b4a709 diff --git a/dev-lang/sunstudioexpress/metadata.xml b/dev-lang/sunstudioexpress/metadata.xml new file mode 100644 index 000000000000..2d083ce3bc66 --- /dev/null +++ b/dev-lang/sunstudioexpress/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>flameeyes@gentoo.org</email> + </maintainer> +</pkgmetadata> diff --git a/dev-lang/sunstudioexpress/sunstudioexpress-2008.07.24.ebuild b/dev-lang/sunstudioexpress/sunstudioexpress-2008.07.24.ebuild new file mode 100644 index 000000000000..9e8ae231ad72 --- /dev/null +++ b/dev-lang/sunstudioexpress/sunstudioexpress-2008.07.24.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/sunstudioexpress/sunstudioexpress-2008.07.24.ebuild,v 1.1 2008/09/30 12:08:07 flameeyes Exp $ + +inherit versionator + +MY_PN="StudioExpress" +MY_TAG="-ii" +MY_PV="$(replace_all_version_separators -)" +MY_P="${MY_PN}-linux-x86-${MY_PV}${MY_TAG}" + +DESCRIPTION="Sun Studio Express Compilers for Linux" +HOMEPAGE="http://developers.sun.com/sunstudio/downloads/express/index.jsp" +RESTRICT="fetch" +SRC_URI="${MY_P}.sh" + +LICENSE="SunStudioExpress LGPL-2 BSD as-is" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" + +RDEPEND="amd64? ( app-emulation/emul-linux-x86-baselibs ) + sys-libs/zlib" +DEPEND="" +S="${WORKDIR}" + +pkg_nofetch() { + einfo "Go to ${HOMEPAGE}" + einfo "and download ${SRC_URI}" +} + +src_unpack() { + # Since the unpack script is broken, do it manually + # It would be nice to find the magic number automatically.. + tail -n +651 "${DISTDIR}"/${A} | bzip2 -d | tar -oxf - +} + +src_install() { + DIR="/opt/SunStudioExpress" + + dodir /opt + cp -r sunstudioceres "${D}"${DIR} + + # Set SUNW_NO_UPDATE_NOTIFY to anything but false to disable + # writes to /root/.sunstudio + # These writes break the sandbox when building anything with Sun + # compilers + cat << EOF >> "${T}"/envd +ROOTPATH="${DIR}/bin" +PATH="${DIR}/bin" +MANPATH="${DIR}/man" +SUNW_NO_UPDATE_NOTIFY="true" +EOF + + newenvd "${T}"/envd 05${PN} +} |