Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 52184 Details for
Bug 82335
tigcc 0.96_beta2 is out
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
tigcc-0.96_pre9.ebuild
tigcc-0.96_pre9.ebuild (text/plain), 6.44 KB, created by
Robert Führicht
on 2005-02-26 05:59:15 UTC
(
hide
)
Description:
tigcc-0.96_pre9.ebuild
Filename:
MIME Type:
Creator:
Robert Führicht
Created:
2005-02-26 05:59:15 UTC
Size:
6.44 KB
patch
obsolete
># Copyright 1999-2005 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils > >PATCH_VERSION=${PV:5} >GCC_SNAPSHOT="20050213" >BASE_BINUTILS="2.15" >GCC_VER=4.0 >BIN_VER=${BASE_BINUTILS:0:4} >ENV_FILE=${D}/etc/env.d/99tigcc >S=$WORKDIR >DESCRIPTION="Cross compiler for Texas Instruments TI-89, TI-92(+) and V200 calculators" >HOMEPAGE="http://tigcc.ticalc.org" > >## REMOVE ME > >SRC_URI="mirror://gentoo/${PF}.tar.bz2 > http://www.ti-news.net/download/gcc40/gcc-4.0-tigcc-${PATCH_VERSION}-patches.tar.bz2 > ftp://gcc.gnu.org/pub/gcc/snapshots/4.0-${GCC_SNAPSHOT}/gcc-4.0-${GCC_SNAPSHOT}.tar.bz2 > mirror:/kernel/linux/devel/binutils/binutils-${BASE_BINUTILS}.tar.bz2 > http://members.chello.at/gerhard.kofler/kevin/ti89prog/libfargo.zip > http://members.chello.at/gerhard.kofler/kevin/ti89prog/flashosa.zip" > >LICENSE="GPL-2" > >SLOT="0" >KEYWORDS="~x86 ~ppc ~sparc ~amd64" >IUSE="doc" > >DEPEND="virtual/glibc > >=sys-devel/binutils-2.14.90.0.6-r1 > >=sys-devel/bison-1.875 > !dev-embedded/tigcc" > >src_unpack() { > unpack ${A} > # start by patching binutils and gcc > cd ${WORKDIR}/binutils-${BASE_BINUTILS} > epatch ${S}/sources/gcc/gas-${BIN_VER}-tigcc-*.diff > > cd ${WORKDIR}/gcc-4.0-${GCC_SNAPSHOT} > epatch ${S}/gcc-4.0-tigcc-${PATCH_VERSION}.diff > for i in $(ls ${FILESDIR}/*-${PATCH_VERSION}.patch) ; do > epatch ${i} > done > > # create build directories for binutils and gcc > mkdir -p ${WORKDIR}/build/binutils > mkdir ${WORKDIR}/build/gcc > > # Workaround for non-existing directories > sed -ie '/SUBDIRS =/d' ${WORKDIR}/binutils-${BASE_BINUTILS}/gas/Makefile.in >} > >src_compile() { > # build binutils > cd ${WORKDIR}/build/binutils > CFLAGS="${CFLAGS}" ${WORKDIR}/binutils-${BASE_BINUTILS}/configure \ > --disable-serial-configure --target=m68k-coff --disable-shared \ > --enable-static --disable-multilib --disable-nls \ > || die > emake || die "gas" > > # build gcc > cd ${WORKDIR}/build/gcc > CFLAGS="${CFLAGS}" ${WORKDIR}/gcc-4.0-${GCC_SNAPSHOT}/configure --target=m68k-coff \ > --with-gnu-as --with-as=${WORKDIR}/build/binutils/gas/as-new --with-gnu-ld \ > --disable-nls --disable-multilib --disable-shared --enable-static \ > --disable-threads --enable-languages=c --disable-win32-registry \ > --disable-checking --disable-werror --disable-pch --disable-mudflap \ > || die > rm -f ${WORKDIR}/gcc-4.0-${GCC_SNAPSHOT}/gcc/config/m68k/m68k-modes.def > > # GCC compilations _is intended_ to fail on a certain point, > # don't worry about that. > emake > > # build a68k assembler > cd ${S}/sources/a68k > emake -e || die "a68k" > > # build ld-tigcc linker > cd ${S}/sources/ld-tigcc > emake -e || die "ld-tigcc" > > # build tigcc front-end > cd ${S}/sources/tigcc/src > emake -e || die "tigcc" > > # build tprbuilder (TIGCC project builder) > cd ${S}/sources/tprbuilder/src > emake -e || die "tprbuilder" > > # build patcher (object file patcher) > cd ${S}/sources/patcher/src > emake -e || die "patcher" > > # build parser > cd ${S}/sources/parser/src > emake -e || die "parser" > > # build tict tool suite > cd ${S}/tt > CFLAGS="${CFLAGS}" ./makelinux.sh || die "tict tools suite" >} > >src_install() { > # install documentation > into /usr > dodir /usr/bin > > if use doc ; then > # patch the script that launches the documentation > # browser to point to the correct location > sed "s:\${TIGCC}/doc:/usr/share/doc/${P}:g" \ > ${S}/tigcclib/doc/converter/tigccdoc \ > > ${S}/tigcclib/doc/converter/tigccdoc.new > > cd ${S}/tigcclib/doc/converter > newbin tigccdoc.new tigccdoc > cd ${S}/tigcclib/doc > dohtml -r html/*.html > cp html/qt-assistant.adp ${D}/usr/share/doc/${PF}/html > > cd ${S}/sources/a68k > docinto a68k > dodoc docs/*.txt > fi > > dodir /usr/share/doc/${PF} > cd ${S} > dodoc AUTHORS BUGS CHANGELOG COPYING DIRECTORIES HOWTO \ > INSTALL README README.linux README.osX > > cd ${S}/sources/tigcc > docinto tigcc > dodoc AUTHORS COPYING ChangeLog README > > cd ${S}/sources/tprbuilder > docinto tprbuilder > dodoc AUTHORS COPYING ChangeLog README > > cd ${S}/sources/patcher > docinto patcher > dodoc AUTHORS COPYING ChangeLog README > > cd ${S}/sources/parser > docinto parser > dodoc AUTHORS COPYING ChangeLog README > > cd ${S}/tt > docinto tools > dodoc history.txt linux_readme.txt readme.txt tooldocs.txt > > exeinto /usr/ti-linux-gnu/tigcc-bin/${GCC_VER} > # install gcc > cd ${WORKDIR}/build/gcc > doexe gcc/cc1 > newexe gcc/xgcc gcc > dosym /usr/ti-linux-gnu/tigcc-bin/${GCC_VER}/gcc \ > /usr/ti-linux-gnu/tigcc-bin/${GCC_VER}/ti-linux-gnu-gcc > > # install gas > # exeinto /usr/ti-linux-gnu/bin <-- a symlink will be > # created so that gas resides in /usr/ti-linux-gnu/bin too > cd ${WORKDIR}/build/binutils > newexe gas/as-new as > > # install a68k > cd ${S}/sources/a68k/src > newexe A68k a68k > > # install ld-tigcc > cd ${S}/sources/ld-tigcc > doexe ld-tigcc > doexe ar-tigcc > > # install tigcc > cd ${S}/sources/tigcc/src > doexe tigcc > dosym /usr/ti-linux-gnu/tigcc-bin/${GCC_VER}/tigcc \ > /usr/ti-linux-gnu/tigcc-bin/${GCC_VER}/ti-linux-gnu-tigcc > > # install tprbuilder > cd ${S}/sources/tprbuilder/src > doexe tprbuilder > > # install patcher > cd ${S}/sources/patcher/src > doexe patcher > > # install parser > cd ${S}/sources/parser/src > doexe parser > > # install tict tool suite > cd ${S}/tt > doexe linuxbin/* > > # install header files > dodir /usr/include/tigcc > cp -R ${S}/tigcclib/include/* ${D}/usr/include/tigcc > dosym /usr/include/tigcc/asm/os.h /usr/include/tigcc/asm/OS.h > > insinto /usr/lib/gcc-lib/ti-linux-gnu/${GCC_VER} > # install library > cd ${S}/tigcclib > doins lib/* > cd ${WORKDIR} > doins flashosa/flashos.a > doins fargo.a > > dodir /usr/share/tigcc > # copy example programs > # cp -r ${S}/examples ${D}/usr/share/tigcc > > # create TIGCC env variable > dodir /etc/env.d/gcc > # echo -e "TIGCC=\"/usr/ti-linux-gnu/tigcc-bin/${GCC_VER}\"" >> ${ENV_FILE} > # echo -e "CC=\"tigcc\"" >> ${ENV_FILE} > echo -e "TIGCC=\"/usr/ti-linux-gnu\"" >> ${ENV_FILE} > echo -e "PATH=\"/usr/ti-linux-gnu/tigcc-bin/${GCC_VER}:/usr/ti-linux-gnu/bin\"" >> ${ENV_FILE} > echo -e "ROOTPATH=\"/usr/ti-linux-gnu/tigcc-bin/${GCC_VER}:/usr/ti-linux-gnu/bin\"" >> ${ENV_FILE} > echo -e "LDPATH=\"/usr/lib/gcc-lib/ti-linux-gnu/${GCC_VER}\"" >> ${ENV_FILE} > > # a cross-compiling gcc with hard-coded names has been built. > # therefore, we must place some symlinks. > dosym /usr/include/tigcc /usr/ti-linux-gnu/include > dosym /usr/lib/gcc-lib/ti-linux-gnu/${GCC_VER} /usr/ti-linux-gnu/lib > dosym /usr/share/doc/${PF} /usr/ti-linux-gnu/doc > dosym /usr/ti-linux-gnu/tigcc-bin/${GCC_VER} /usr/ti-linux-gnu/bin >} > >pkg-postinst() { > env-update && source /etc/profile >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 82335
:
51420
|
51421
|
51422
|
51927
|
52182
|
52184
|
54956
|
54959
|
58011
|
68825
|
70154
|
95761