/[gentoo-x86]/sys-devel/gcc/gcc-3.2.2.ebuild
Gentoo

Diff of /sys-devel/gcc/gcc-3.2.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.15 Revision 1.16
1# Copyright 1999-2003 Gentoo Technologies, Inc. 1# Copyright 1999-2003 Gentoo Technologies, Inc.
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/Attic/gcc-3.2.2.ebuild,v 1.15 2003/03/29 14:53:02 joker Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/Attic/gcc-3.2.2.ebuild,v 1.16 2003/04/12 19:47:21 azarah Exp $
4 4
5IUSE="static nls bootstrap java build" 5IUSE="static nls bootstrap java build"
6 6
7inherit eutils flag-o-matic libtool 7inherit eutils flag-o-matic libtool
8 8
435 then 435 then
436 rm -f ${D}${LOC}/lib/libiberty.a 436 rm -f ${D}${LOC}/lib/libiberty.a
437 fi 437 fi
438 438
439 cd ${S} 439 cd ${S}
440 if [ -z "`use build`" ] 440 if [ -z "`use build`" ]
441 then 441 then
442 cd ${S} 442 cd ${S}
443 docinto /${CCHOST} 443 docinto /${CCHOST}
444 dodoc COPYING COPYING.LIB ChangeLog FAQ GNATS MAINTAINERS README 444 dodoc COPYING COPYING.LIB ChangeLog FAQ GNATS MAINTAINERS README
445 docinto ${CCHOST}/html 445 docinto ${CCHOST}/html
446 dohtml *.html 446 dohtml *.html
451 dohtml doc/*.html 451 dohtml doc/*.html
452 cd ${S}/gcc 452 cd ${S}/gcc
453 docinto ${CCHOST}/gcc 453 docinto ${CCHOST}/gcc
454 dodoc ChangeLog* FSFChangeLog* LANGUAGES NEWS ONEWS README* SERVICE 454 dodoc ChangeLog* FSFChangeLog* LANGUAGES NEWS ONEWS README* SERVICE
455 cd ${S}/libf2c 455 cd ${S}/libf2c
456 docinto ${CCHOST}/libf2c 456 docinto ${CCHOST}/libf2c
457 dodoc ChangeLog README TODO *.netlib 457 dodoc ChangeLog README TODO *.netlib
458 cd ${S}/libffi 458 cd ${S}/libffi
459 docinto ${CCHOST}/libffi 459 docinto ${CCHOST}/libffi
460 dodoc ChangeLog* LICENSE README 460 dodoc ChangeLog* LICENSE README
461 cd ${S}/libiberty 461 cd ${S}/libiberty
462 docinto ${CCHOST}/libiberty 462 docinto ${CCHOST}/libiberty
463 dodoc ChangeLog COPYING.LIB README 463 dodoc ChangeLog COPYING.LIB README
464 cd ${S}/libobjc 464 cd ${S}/libobjc
465 docinto ${CCHOST}/libobjc 465 docinto ${CCHOST}/libobjc
466 dodoc ChangeLog README* THREADS* 466 dodoc ChangeLog README* THREADS*
467 cd ${S}/libstdc++-v3 467 cd ${S}/libstdc++-v3
468 docinto ${CCHOST}/libstdc++-v3 468 docinto ${CCHOST}/libstdc++-v3
469 dodoc ChangeLog* README 469 dodoc ChangeLog* README
470 docinto ${CCHOST}/libstdc++-v3/html 470 docinto ${CCHOST}/libstdc++-v3/html
471 dohtml -r -a css,diff,html,txt,xml docs/html/* 471 dohtml -r -a css,diff,html,txt,xml docs/html/*
472 cp -f docs/html/17_intro/[A-Z]* \ 472 cp -f docs/html/17_intro/[A-Z]* \
473 ${D}/usr/share/doc/${PF}/${DOCDESTTREE}/17_intro/ 473 ${D}/usr/share/doc/${PF}/${DOCDESTTREE}/17_intro/
474 474
475 if [ -n "`use java`" ] 475 if [ -n "`use java`" ]
476 then 476 then
477 cd ${S}/fastjar 477 cd ${S}/fastjar
478 docinto ${CCHOST}/fastjar 478 docinto ${CCHOST}/fastjar
479 dodoc AUTHORS CHANGES COPYING ChangeLog NEWS README 479 dodoc AUTHORS CHANGES COPYING ChangeLog NEWS README
480 cd ${S}/libjava 480 cd ${S}/libjava
481 docinto ${CCHOST}/libjava 481 docinto ${CCHOST}/libjava
482 dodoc ChangeLog* COPYING HACKING LIBGCJ_LICENSE NEWS README THANKS 482 dodoc ChangeLog* COPYING HACKING LIBGCJ_LICENSE NEWS README THANKS
483 fi 483 fi
484 else 484 else
485 rm -rf ${D}/usr/share/{man,info} 485 rm -rf ${D}/usr/share/{man,info}
486 fi 486 fi
487 487
488 # Rather install the script, else portage with changing $FILESDIR 488 # Rather install the script, else portage with changing $FILESDIR
489 # between binary and source package borks things .... 489 # between binary and source package borks things ....
490 insinto /lib/rcscripts/awk 490 insinto /lib/rcscripts/awk
491 doins ${FILESDIR}/awk/fixlafiles.awk 491 doins ${FILESDIR}/awk/fixlafiles.awk
492 exeinto /sbin 492 exeinto /sbin
493 doexe ${FILESDIR}/fix_libtool_files.sh 493 doexe ${FILESDIR}/fix_libtool_files.sh
494 494
495 # Fix ncurses b0rking 495 # Fix ncurses b0rking
496 find ${D}/ -name '*curses.h' -exec rm -f {} \; 496 find ${D}/ -name '*curses.h' -exec rm -f {} \;
497} 497}
498 498
499pkg_preinst() { 499pkg_preinst() {
500 500
501 if [ ! -f "${WORKDIR}/.chkgccversion" ] 501 if [ ! -f "${WORKDIR}/.chkgccversion" ]

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.20