summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-11-16 17:37:19 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-11-16 17:37:19 +0000
commitef49bf3ee829fb8490b5f70cb68e4ae103eae845 (patch)
tree6d30a789ac91f9ef934c454933058981d74bd74c /dev-lang/sunstudioexpress
parentversion bump (diff)
downloadgentoo-2-ef49bf3ee829fb8490b5f70cb68e4ae103eae845.tar.gz
gentoo-2-ef49bf3ee829fb8490b5f70cb68e4ae103eae845.tar.bz2
gentoo-2-ef49bf3ee829fb8490b5f70cb68e4ae103eae845.zip
Version bump to 2008.11 release.
(Portage version: 2.2_rc14/cvs/Linux 2.6.27-gentoo-r2 x86_64)
Diffstat (limited to 'dev-lang/sunstudioexpress')
-rw-r--r--dev-lang/sunstudioexpress/ChangeLog8
-rw-r--r--dev-lang/sunstudioexpress/sunstudioexpress-2008.11.ebuild55
2 files changed, 62 insertions, 1 deletions
diff --git a/dev-lang/sunstudioexpress/ChangeLog b/dev-lang/sunstudioexpress/ChangeLog
index d71955d35f1b..d545da1bbbdb 100644
--- a/dev-lang/sunstudioexpress/ChangeLog
+++ b/dev-lang/sunstudioexpress/ChangeLog
@@ -1,6 +1,12 @@
# 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.2 2008/10/06 08:13:25 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/sunstudioexpress/ChangeLog,v 1.3 2008/11/16 17:37:19 flameeyes Exp $
+
+*sunstudioexpress-2008.11 (16 Nov 2008)
+
+ 16 Nov 2008; Diego E. Pettenò <flameeyes@gentoo.org>
+ +sunstudioexpress-2008.11.ebuild:
+ Version bump to 2008.11 release.
06 Oct 2008; Diego Pettenò <flameeyes@gentoo.org>
sunstudioexpress-2008.07.24.ebuild:
diff --git a/dev-lang/sunstudioexpress/sunstudioexpress-2008.11.ebuild b/dev-lang/sunstudioexpress/sunstudioexpress-2008.11.ebuild
new file mode 100644
index 000000000000..1c117f8a725a
--- /dev/null
+++ b/dev-lang/sunstudioexpress/sunstudioexpress-2008.11.ebuild
@@ -0,0 +1,55 @@
+# 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.11.ebuild,v 1.1 2008/11/16 17:37:19 flameeyes Exp $
+
+inherit versionator
+
+MY_PN="StudioExpress"
+MY_TAG="-ii"
+MY_PV="$(replace_all_version_separators -)"
+MY_P="${MY_PN}-lin-x86-${MY_PV}${MY_TAG}"
+
+DESCRIPTION="Sun Studio Express Compilers for Linux"
+HOMEPAGE="http://developers.sun.com/sunstudio/downloads/express/index.jsp"
+RESTRICT="fetch strip"
+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}"
+ einfo "Choose the Option 2 section when downloading the file."
+}
+
+src_unpack() {
+ sh ${DISTDIR}/${A} --accept-sla || die "unpack failed"
+}
+
+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}
+}