diff options
author | Gustavo Zacarias <gustavoz@gentoo.org> | 2006-06-12 21:49:39 +0000 |
---|---|---|
committer | Gustavo Zacarias <gustavoz@gentoo.org> | 2006-06-12 21:49:39 +0000 |
commit | 4a04dcd45e288453909f24c7a1a1ea27a1b75425 (patch) | |
tree | e212eac9d1c4b1d5c66a6606390ff56753cad375 /sys-devel | |
parent | make RESTRICT the same as the other ebuilds (diff) | |
download | historical-4a04dcd45e288453909f24c7a1a1ea27a1b75425.tar.gz historical-4a04dcd45e288453909f24c7a1a1ea27a1b75425.tar.bz2 historical-4a04dcd45e288453909f24c7a1a1ea27a1b75425.zip |
New shiny release
Package-Manager: portage-2.1
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/gcc-sparc64/ChangeLog | 8 | ||||
-rw-r--r-- | sys-devel/gcc-sparc64/Manifest | 24 | ||||
-rw-r--r-- | sys-devel/gcc-sparc64/files/digest-gcc-sparc64-4.1.1 | 3 | ||||
-rw-r--r-- | sys-devel/gcc-sparc64/gcc-sparc64-4.1.1.ebuild | 137 |
4 files changed, 163 insertions, 9 deletions
diff --git a/sys-devel/gcc-sparc64/ChangeLog b/sys-devel/gcc-sparc64/ChangeLog index 5bfa3b6f27cc..667edc592322 100644 --- a/sys-devel/gcc-sparc64/ChangeLog +++ b/sys-devel/gcc-sparc64/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-devel/gcc-sparc64 # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-sparc64/ChangeLog,v 1.32 2006/06/06 01:26:29 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-sparc64/ChangeLog,v 1.33 2006/06/12 21:49:39 gustavoz Exp $ + +*gcc-sparc64-4.1.1 (12 Jun 2006) + + 12 Jun 2006; Gustavo Zacarias <gustavoz@gentoo.org> + +gcc-sparc64-4.1.1.ebuild: + New shiny release 06 Jun 2006; Jeremy Huddleston <eradicator@gentoo.org> gcc-sparc64-3.3.5.ebuild, gcc-sparc64-3.3.6.ebuild, diff --git a/sys-devel/gcc-sparc64/Manifest b/sys-devel/gcc-sparc64/Manifest index c3a4e2e3dd19..63820f8805e2 100644 --- a/sys-devel/gcc-sparc64/Manifest +++ b/sys-devel/gcc-sparc64/Manifest @@ -13,6 +13,7 @@ DIST gcc-3.3.5.tar.bz2 23833856 DIST gcc-3.3.6.tar.bz2 23972413 RMD160 b32c7a08c690857f0ac52dda3deb47cf5775d967 SHA1 2cc43978bb09af6c2ccfdf74797d10d7cc2596fb SHA256 1c1aa533c67e9da5e55ed4f5736258dc753466bd716bdae3fb88fb66e6ff1d7f DIST gcc-3.4.5.tar.bz2 28254232 RMD160 611ad033a76ada49d43529fc694142e856a039fa SHA1 389bcc98e391545e501c05557a8651104beac059 SHA256 be5738a94076052453894dd7d35b1efbb017bba1da0b28495d145f98fe018a09 DIST gcc-3.4.6.tar.bz2 28193401 RMD160 b15003368cedc7964f6ceaee0c39ddc43a46c442 SHA1 97b290fdc572c8e490b3b39f243e69bacad23c2b SHA256 7791a601878b765669022b8b3409fba33cc72f9e39340fec8af6d0e6f72dec39 +DIST gcc-4.1.1.tar.bz2 39172003 RMD160 0edeac242d900b075a7e36796380492b5b3c8564 SHA1 a398b95d38b6e35f4c4e02c34c0a3bff79811f8f SHA256 985cbb23a486570a8783395a42a8689218f5218a0ccdd6bec590eef341367bb7 EBUILD gcc-sparc64-3.3.5.ebuild 3092 RMD160 a8555eee2f4387666edaf5d71db544e5fa6f3708 SHA1 c944c7de86f2627f1d890831c0c3b3cd6e521e2a SHA256 e59ebafb6f29b2d0e539edecdddd5dafb4e455957692ba4609e0e04c3756c3cf MD5 fb7a586cf16f20ca8ec2752cded8e180 gcc-sparc64-3.3.5.ebuild 3092 RMD160 a8555eee2f4387666edaf5d71db544e5fa6f3708 gcc-sparc64-3.3.5.ebuild 3092 @@ -29,10 +30,14 @@ EBUILD gcc-sparc64-3.4.6.ebuild 3430 RMD160 ca7038b505d61d0093cb0fd4b682239cc6c0 MD5 6aa12af39219a84aabcde73acc7aeac2 gcc-sparc64-3.4.6.ebuild 3430 RMD160 ca7038b505d61d0093cb0fd4b682239cc6c00523 gcc-sparc64-3.4.6.ebuild 3430 SHA256 77d66062975bf1ab172508dad3f66b708cba2c0b014edb5d46f163c4dd9eddf2 gcc-sparc64-3.4.6.ebuild 3430 -MISC ChangeLog 5891 RMD160 5850429973d9b2b8fbdba421442ee15ebebfca88 SHA1 b00a787d483678e73bec603f434b5d8fcb6e121f SHA256 c8615489d0a01d332e933e1674b5df495f3e49dd6987a5e8d300a4e9e86f72f9 -MD5 41c28f500b9d6fbdb0bbaea0cccb1685 ChangeLog 5891 -RMD160 5850429973d9b2b8fbdba421442ee15ebebfca88 ChangeLog 5891 -SHA256 c8615489d0a01d332e933e1674b5df495f3e49dd6987a5e8d300a4e9e86f72f9 ChangeLog 5891 +EBUILD gcc-sparc64-4.1.1.ebuild 3580 RMD160 c6b69c552685077f19239185b6fdaa0051ed84d1 SHA1 614b3113f5ecb1b1ba325a67b9f80567d87ca894 SHA256 d471b0dfd195d94922d921f805f2dff519d405892c628c5203be69d310033bed +MD5 20018f844bfc970bfad3b12095f6b72a gcc-sparc64-4.1.1.ebuild 3580 +RMD160 c6b69c552685077f19239185b6fdaa0051ed84d1 gcc-sparc64-4.1.1.ebuild 3580 +SHA256 d471b0dfd195d94922d921f805f2dff519d405892c628c5203be69d310033bed gcc-sparc64-4.1.1.ebuild 3580 +MISC ChangeLog 6027 RMD160 1843f5618661cd51ee2b089b3d6903e6e7b71140 SHA1 b41a271dcc74459d755982378f42a6b153884ba0 SHA256 4880e9ea2002f875b57f83d50446dba959ed9ab09784286bf2db59734ed73099 +MD5 3203fec105118520b38ae09afd7089b2 ChangeLog 6027 +RMD160 1843f5618661cd51ee2b089b3d6903e6e7b71140 ChangeLog 6027 +SHA256 4880e9ea2002f875b57f83d50446dba959ed9ab09784286bf2db59734ed73099 ChangeLog 6027 MISC metadata.xml 360 RMD160 3c5dec8cce9f56381af92725cf7a5a68924d7915 SHA1 649199c261f07bfc70ac0776df52e91d8c8739bf SHA256 8dd9b7b1c62cf1c0681c72ae0e8d50184c52702559b2999ae58f23d749316bd1 MD5 f826fcca414fc0c05030db1f99e479d8 metadata.xml 360 RMD160 3c5dec8cce9f56381af92725cf7a5a68924d7915 metadata.xml 360 @@ -49,10 +54,13 @@ SHA256 083f56ea3bbdb792eca0997ccfa044b2ba0e5a1c2d20aaaf7b0630dc430b71ec files/di MD5 8fc27b2f831bbe81d5f3bc7005a44ca0 files/digest-gcc-sparc64-3.4.6 238 RMD160 e740aa34a8ebbb3a6b339afb74c9b7ad4dab824f files/digest-gcc-sparc64-3.4.6 238 SHA256 977bbf6314223f25cab3dcdb74a586dbadf8f3aa6218d570483f8b684a27e764 files/digest-gcc-sparc64-3.4.6 238 +MD5 41caa82366308aff5ccd43303056379c files/digest-gcc-sparc64-4.1.1 238 +RMD160 b280d59080e244cbdf717f7693886062b1a0c5e0 files/digest-gcc-sparc64-4.1.1 238 +SHA256 7cc3a3ac8158450086aec0096ef86f7bc8b2e1d9510bd6a796fc51d64241f2ac files/digest-gcc-sparc64-4.1.1 238 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.3 (GNU/Linux) +Version: GnuPG v1.4.2.2-ecc0.1.6 (GNU/Linux) -iD8DBQFEhNnuOpjtAl+gMRURArREAJ44hftiQUz+utiiUNWdE1PzJ0sHJwCg4hqP -eqRMVSHwUL5qRs9++9g0+Mg= -=lPwE +iD8DBQFEjeGFKRy60XGEcJIRAhJyAKCVqdgkyG5TRpVKEi4P+rQIyl0G9ACfb64n +tkv2PFFtd7isa0kpinqoO6c= +=B5/w -----END PGP SIGNATURE----- diff --git a/sys-devel/gcc-sparc64/files/digest-gcc-sparc64-4.1.1 b/sys-devel/gcc-sparc64/files/digest-gcc-sparc64-4.1.1 new file mode 100644 index 000000000000..dcd3d354a980 --- /dev/null +++ b/sys-devel/gcc-sparc64/files/digest-gcc-sparc64-4.1.1 @@ -0,0 +1,3 @@ +MD5 ad9f97a4d04982ccf4fd67cb464879f3 gcc-4.1.1.tar.bz2 39172003 +RMD160 0edeac242d900b075a7e36796380492b5b3c8564 gcc-4.1.1.tar.bz2 39172003 +SHA256 985cbb23a486570a8783395a42a8689218f5218a0ccdd6bec590eef341367bb7 gcc-4.1.1.tar.bz2 39172003 diff --git a/sys-devel/gcc-sparc64/gcc-sparc64-4.1.1.ebuild b/sys-devel/gcc-sparc64/gcc-sparc64-4.1.1.ebuild new file mode 100644 index 000000000000..b3dcb9d6708a --- /dev/null +++ b/sys-devel/gcc-sparc64/gcc-sparc64-4.1.1.ebuild @@ -0,0 +1,137 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-sparc64/gcc-sparc64-4.1.1.ebuild,v 1.1 2006/06/12 21:49:39 gustavoz Exp $ + +inherit eutils flag-o-matic + +# Variables +MYARCH="$(echo ${PN} | cut -d- -f2)" +TMP_P="${P/-${MYARCH}/}" +TMP_PN="${PN/-${MYARCH}/}" +I="/usr" +BRANCH_UPDATE="" + +DESCRIPTION="SPARC64 Kernel Compiler (Experimental)" +HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html" + +SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/${TMP_P}/${TMP_P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" + +KEYWORDS="-*" + +DEPEND="virtual/libc + >=sys-devel/binutils-2.16.1 + || ( app-admin/eselect-compiler >=sys-devel/gcc-config-1.3.13-r2 )" + +RDEPEND="virtual/libc + || ( app-admin/eselect-compiler >=sys-devel/gcc-config-1.3.13-r2 ) + >=sys-libs/zlib-1.1.4 + >=sys-apps/texinfo-4.2-r4 + !build? ( >=sys-libs/ncurses-5.2-r2 )" + +# Ripped from toolchain.eclass +gcc_version_patch() { + [ -z "$1" ] && die "no arguments to gcc_version_patch" + + sed -i -e 's~\(const char version_string\[\] = ".....\).*\(".*\)~\1 @GENTOO@\2~' ${S}/gcc/version.c || die "failed to add @GENTOO@" + sed -i -e "s:@GENTOO@:$1:g" ${S}/gcc/version.c || die "failed to patch version" + sed -i -e 's~http:\/\/gcc\.gnu\.org\/bugs\.html~http:\/\/bugs\.gentoo\.org\/~' ${S}/gcc/version.c || die "failed to update bugzilla URL" +} + +pkg_setup() { + # glibc or uclibc? + if use elibc_glibc; then + MYUSERLAND="gnu" + elif use elibc_uclibc; then + MYUSERLAND="uclibc" + fi +} + +src_unpack() { + unpack ${A} + cd ${WORKDIR} + ln -s ${TMP_P} ${P} + cd ${S} + + # Patch in Branch update + if [ ! -z "${BRANCH_UPDATE}" ]; then + epatch ${WORKDIR}/${TMP_P}-branch-update-${BRANCH_UPDATE}.patch + fi + + # Make gcc's version info specific to Gentoo + gcc_version_patch "(Gentoo Linux ${PVR})" +} + +src_compile() { + cd ${WORKDIR} + ln -s ${TMP_P} ${P} + + append-flags "-Dinhibit_libc" + + # Build in a separate build tree + mkdir -p ${WORKDIR}/build + cd ${WORKDIR}/build + + einfo "Configuring GCC..." + if [ "`uname -m | grep 64`" ]; then + myconf="${myconf} --host=${MYARCH/64/}-unknown-linux-${MYUSERLAND}" + fi + + addwrite "/dev/zero" + ${S}/configure --prefix=${I} \ + --disable-shared \ + --disable-multilib \ + --disable-libssp \ + --disable-libmudflap \ + --disable-libgcj \ + --disable-bootstrap \ + --disable-nls \ + --target=${MYARCH}-unknown-linux-${MYUSERLAND} \ + --enable-languages=c \ + --enable-threads=single \ + ${myconf} || die + + einfo "Building GCC..." + S="${WORKDIR}/build" \ + emake CFLAGS="${CFLAGS}" || die +} + +src_install() { + # Do allow symlinks in ${I}/lib/gcc-lib/${CHOST}/${PV}/include as + # this can break the build. + for x in cd ${WORKDIR}/build/gcc/include/* + do + if [ -L ${x} ] + then + rm -f ${x} + fi + done + + einfo "Installing GCC..." + # Do the 'make install' from the build directory + cd ${WORKDIR}/build + S="${WORKDIR}/build" \ + emake prefix=${D}${I} \ + FAKE_ROOT="${D}" \ + install || die + + cd ${D}${I}/bin + ln -s ${MYARCH}-unknown-linux-${MYUSERLAND}-gcc gcc64 + ln -s ${MYARCH}-unknown-linux-${MYUSERLAND}-gcc ${MYARCH}-linux-gcc +} + +pkg_postinst() { + einfo "" + einfo "To facilitate an easier kernel build, you may wish to add the following line to your profile:" + einfo "" + einfo "For 2.6.x kernel builds:" + einfo "alias ${MYARCH}make=\"make ARCH=${MYARCH/64/} CROSS_COMPILE=${MYARCH}-unknown-linux-${MYUSERLAND}-\"" + einfo "" + einfo "Then to compile a kernel, simply goto the kernel source directory, and issue:" + einfo "${MYARCH}make <target>" + einfo "Where <target> is one of the usual kernel targets" + einfo "" + epause 10 +} |