diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2010-04-27 12:44:37 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2010-04-27 12:44:37 +0000 |
commit | 44e5c925b72d387c45f48a0b1a2014a8002a7b44 (patch) | |
tree | 3c788fd25e46c84711d7cb3f116c4e8ce841018b /sys-devel | |
parent | Add missing die to dodoc. (diff) | |
download | historical-44e5c925b72d387c45f48a0b1a2014a8002a7b44.tar.gz historical-44e5c925b72d387c45f48a0b1a2014a8002a7b44.tar.bz2 historical-44e5c925b72d387c45f48a0b1a2014a8002a7b44.zip |
2.7 official release version bump
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/llvm-gcc/ChangeLog | 7 | ||||
-rw-r--r-- | sys-devel/llvm-gcc/Manifest | 4 | ||||
-rw-r--r-- | sys-devel/llvm-gcc/llvm-gcc-2.7.ebuild | 72 |
3 files changed, 81 insertions, 2 deletions
diff --git a/sys-devel/llvm-gcc/ChangeLog b/sys-devel/llvm-gcc/ChangeLog index 351d1250449a..3623904c9213 100644 --- a/sys-devel/llvm-gcc/ChangeLog +++ b/sys-devel/llvm-gcc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-devel/llvm-gcc # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm-gcc/ChangeLog,v 1.4 2010/01/05 10:19:26 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm-gcc/ChangeLog,v 1.5 2010/04/27 12:44:37 voyageur Exp $ + +*llvm-gcc-2.7 (27 Apr 2010) + + 27 Apr 2010; Bernard Cafarelli <voyageur@gentoo.org> +llvm-gcc-2.7.ebuild: + 2.7 official release version bump 05 Jan 2010; Bernard Cafarelli <voyageur@gentoo.org> llvm-gcc-2.6.ebuild: Add test depend on autogen, thanks to David Leverton diff --git a/sys-devel/llvm-gcc/Manifest b/sys-devel/llvm-gcc/Manifest index 55ff0b97d25b..134070d9995d 100644 --- a/sys-devel/llvm-gcc/Manifest +++ b/sys-devel/llvm-gcc/Manifest @@ -1,4 +1,6 @@ DIST llvm-gcc-4.2-2.6.source.tar.gz 48364917 RMD160 08d7ffadb88e3abdcc971372f737e4ddf8f991c6 SHA1 60670d550be09a57d315efa259d2b19955f6fa79 SHA256 5be01f0ed0787c33239ab27b93884e48b544a1be97b944c7a5d29e85fbab495d +DIST llvm-gcc-4.2-2.7.source.tgz 55699337 RMD160 523edd94ece00caaaa3ff2399f3c0b044b50f432 SHA1 aaf466efa41e95014d51a2f8a60ad3b7771c1829 SHA256 1ccbcef5fe6613392e24f21fd23a9ed2692827c13f8d85c26b3bdcd1b3b5047a EBUILD llvm-gcc-2.6.ebuild 2019 RMD160 d613455439fe1bba7cc12b2d36473bf83b28978f SHA1 fdac8e473cbce552efa6c6fd0c81116f2944da76 SHA256 8b650918956ee6c4f9ef869342fcf47ca5f314f334438a3060bb7437d7ad5ab5 -MISC ChangeLog 891 RMD160 a7b98044c09aa86c245ceb16b07f853312d273d0 SHA1 082ed7782e7d03bc35b75c32d70634ebfca33de7 SHA256 71341755ccf8b07b6776d456f443b3d176bab17024456145cac1f814a39b70a4 +EBUILD llvm-gcc-2.7.ebuild 2018 RMD160 c36660533b53fae7f64eb5d16c742c1a8626ca75 SHA1 be69e5c41844481919467aacbf0d8474c97400c3 SHA256 8a4b589e0660a15c235cf3fbdd919ff53cd97237f6035f18cad357bdd3feac49 +MISC ChangeLog 1034 RMD160 66100bbb3e1fb67572d7ae1d5e1245453e2f37c1 SHA1 34e078ae787d1880eb04db2138ea626f675ccc20 SHA256 3ccbd1142eebd92fab013a8d3fa21e838d6609980c1cd42aed457237e18e9c85 MISC metadata.xml 1210 RMD160 452adfc54714ef433d1029368d731d2ba232443a SHA1 00c2795c89050749d088beb5202877fa6bf7a01d SHA256 9d192d1f60fc67d6bee5d6669fe84adc94a097d42f70a6f20e4f708d094b5d7c diff --git a/sys-devel/llvm-gcc/llvm-gcc-2.7.ebuild b/sys-devel/llvm-gcc/llvm-gcc-2.7.ebuild new file mode 100644 index 000000000000..1e08a83339fe --- /dev/null +++ b/sys-devel/llvm-gcc/llvm-gcc-2.7.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm-gcc/llvm-gcc-2.7.ebuild,v 1.1 2010/04/27 12:44:37 voyageur Exp $ + +EAPI=2 +inherit multilib + +LLVM_GCC_VERSION=4.2 +MY_PV=${LLVM_GCC_VERSION}-${PV/_pre*} + +DESCRIPTION="LLVM C front-end" +HOMEPAGE="http://llvm.org" +SRC_URI="http://llvm.org/releases/${PV}/${PN}-${MY_PV}.source.tgz" + +LICENSE="GPL-2" +SLOT=0 +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="bootstrap fortran multilib nls objc objc++ test" + +RDEPEND=">=sys-devel/llvm-$PV" +DEPEND="${RDEPEND} + >=sys-apps/texinfo-4.2-r4 + >=sys-devel/binutils-2.18 + >=sys-devel/bison-1.875 + test? ( dev-util/dejagnu + sys-devel/autogen )" + +S=${WORKDIR}/llvm-gcc-${MY_PV}.source/obj + +src_prepare() { + #we keep the directory structure suggested by README.LLVM, + mkdir -p "${S}" +} + +src_configure() { + # Target options are handled by econf + + EXTRALANGS="" + use fortran && EXTRALANGS="${EXTRALANGS},fortran" + use objc && EXTRALANGS="${EXTRALANGS},objc" + use objc++ && EXTRALANGS="${EXTRALANGS},obj-c++" + + ECONF_SOURCE="${WORKDIR}"/llvm-gcc-${MY_PV}.source econf --prefix=/usr/$(get_libdir)/${PN}-${MY_PV} \ + $(use_enable multilib) \ + --program-prefix=${PN}-${MY_PV}- \ + --enable-llvm=/usr --enable-languages=c,c++${EXTRALANGS} \ + || die "configure failed" +} + +src_compile() { + BUILDOPTIONS="LLVM_VERSION_INFO=${MY_PV}" + use bootstrap && BUILDOPTIONS="${BUILDOPTIONS} bootstrap" + emake ${BUILDOPTIONS} || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "installation failed" + rm -rf "${D}"/usr/share/man/man7 + if ! use nls; then + einfo "nls USE flag disabled, not installing locale files" + rm -rf "${D}"/usr/share/locale + fi + + # Add some symlinks + dodir /usr/bin + cd "${D}/usr/bin" + for X in c++ g++ cpp gcc gcov gccbug ; do + ln -s /usr/$(get_libdir)/${PN}-${MY_PV}/bin/${PN}-${MY_PV}-${X} llvm-${X} + done + use fortran && \ + ln -s /usr/$(get_libdir)/${PN}-${MY_PV}/bin/${PN}-${MY_PV}-gfortran llvm-gfortran +} |