MD5 aba71e4e3d724b864f2c46e689355bab tigcc-0.96_beta2.ebuild 6307
RMD160 debae289305d8aa6deabcddc7314a1ad1691ef7a tigcc-0.96_beta2.ebuild 6307
SHA256 3b1f76a98955668391ef3795a8f57532fe743c3949c89e81a335bf96f1818d2f tigcc-0.96_beta2.ebuild 6307
-EBUILD tigcc-0.96_beta8.ebuild 6847 RMD160 67bc22380cec740f11af7db9f8a2fb511b261b57 SHA1 b3e73919366f3c86e85a729dc61e89a574fa7ecf SHA256 33c7f6f322199c3d8d791b0a579f3a2fee3af6c83f402ac9ac01921797418ab0
-MD5 e9b3747197d0741dd9740848a625e702 tigcc-0.96_beta8.ebuild 6847
-RMD160 67bc22380cec740f11af7db9f8a2fb511b261b57 tigcc-0.96_beta8.ebuild 6847
-SHA256 33c7f6f322199c3d8d791b0a579f3a2fee3af6c83f402ac9ac01921797418ab0 tigcc-0.96_beta8.ebuild 6847
-MISC ChangeLog 2128 RMD160 b4e7d6b9be35b4767cb6cad76a3e4c11271d0dbd SHA1 0fb17beabf070d0c664ce07187879ee330a9380f SHA256 62a4e05c86c8359ea75669e8ccf4981f7401e1398fafd5dac25cb14168fa3977
-MD5 2075e40607d86391d411ec797f17e749 ChangeLog 2128
-RMD160 b4e7d6b9be35b4767cb6cad76a3e4c11271d0dbd ChangeLog 2128
-SHA256 62a4e05c86c8359ea75669e8ccf4981f7401e1398fafd5dac25cb14168fa3977 ChangeLog 2128
+EBUILD tigcc-0.96_beta7.ebuild 6826 RMD160 63b3c65cf140ec4e87ad99466857a2c2d5198a66 SHA1 961b89f0d25f1f8fb6e6a66de69d722939aca4a8 SHA256 6d17b7ab222de691b5f9149c959144f25a4b4851ddd37ed6692aa62c67508793
+MD5 dc10edabf584572a7ce331d63cfb1c2e tigcc-0.96_beta7.ebuild 6826
+RMD160 63b3c65cf140ec4e87ad99466857a2c2d5198a66 tigcc-0.96_beta7.ebuild 6826
+SHA256 6d17b7ab222de691b5f9149c959144f25a4b4851ddd37ed6692aa62c67508793 tigcc-0.96_beta7.ebuild 6826
+MISC ChangeLog 2357 RMD160 29432f8b4b031235ba8d9a6a0708bf32f84479b2 SHA1 7c73e29531bc8b76ff4213d157e1abcf2842f6ef SHA256 a76bbae19b82fb83589b068fa57a4301d9b61b5a8a9e8ca544dba341506922e2
+MD5 858f3ddd661abdc5a239bbabfd454cf4 ChangeLog 2357
+RMD160 29432f8b4b031235ba8d9a6a0708bf32f84479b2 ChangeLog 2357
+SHA256 a76bbae19b82fb83589b068fa57a4301d9b61b5a8a9e8ca544dba341506922e2 ChangeLog 2357
MISC metadata.xml 165 RMD160 3965c22a153ed350bcbd52de07c08ad47dd03cd7 SHA1 54b9da7fdc6d8376c990288c72938be9855ef8b6 SHA256 fb7ede94a0633f77d601e3e81580eac1624a3bca14401a49d94082579507ba0a
MD5 420df847a3db1c4969aff20243f656dd metadata.xml 165
RMD160 3965c22a153ed350bcbd52de07c08ad47dd03cd7 metadata.xml 165
MD5 4801efb42950a150c4448c66666f49ce files/digest-tigcc-0.96_beta2 632
RMD160 227a4c38444c0054634a72997668efaf21065f60 files/digest-tigcc-0.96_beta2 632
SHA256 df4155ba2f44b2379e5e7b7cba7330230b309ca8ada1f47c2edd9d9fbc401cf2 files/digest-tigcc-0.96_beta2 632
-MD5 dd7ff5898baf31136e4ad5e715095f23 files/digest-tigcc-0.96_beta8 1196
-RMD160 a540623758ae8c4d4136076bc7da3553c1f65991 files/digest-tigcc-0.96_beta8 1196
-SHA256 b332fc139d5e4f81f2da11dcf4012ddc6146c4100ecc6adffc874119ede195bd files/digest-tigcc-0.96_beta8 1196
+MD5 dd7ff5898baf31136e4ad5e715095f23 files/digest-tigcc-0.96_beta7 1196
+RMD160 a540623758ae8c4d4136076bc7da3553c1f65991 files/digest-tigcc-0.96_beta7 1196
+SHA256 b332fc139d5e4f81f2da11dcf4012ddc6146c4100ecc6adffc874119ede195bd files/digest-tigcc-0.96_beta7 1196
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5-ecc0.1.6 (GNU/Linux)
-iD8DBQFFS/FqmdTrptrqvGERAgypAKCSc5NR8ZS/zzjwIW8HT6u9K/+HBACfe4T8
-u9tkOdcOdF98YS+6l/1N0rE=
-=PmLf
+iD8DBQFFTJRfmdTrptrqvGERAiFiAKCMt/s8qYilULlc6shOD6LVcuCu7ACggIta
+ArmpcR++isBmO+79MhdN8Jw=
+=PNks
-----END PGP SIGNATURE-----
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/tigcc/tigcc-0.96_beta8.ebuild,v 1.1 2006/11/04 01:34:20 dragonheart Exp $
-
-inherit eutils
-
-BASE_BINUTILS="2.16.1"
-GCC_VER="4.1.2"
-GCC_SNAPSHOT="20060728"
-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"
-
-
-#original source can be found at:
-#SRC_URI="http://tigcc.ticalc.org/linux/tigcc_src.tar.bz2"
-#but in fact this file changes as soon as there comes a new beta
-
-#when it hits portage of course it should be mirrored on a gentoo mirror:
-#SRC_URI="mirror://gentoo/${PF}.tar.bz2"
-
-SRC_URI="http://www.helch.ch/gentoo/distfiles/tigcc-0.96_beta7.tar.bz2
- ftp://gcc.gnu.org/pub/gcc/snapshots/4.1-${GCC_SNAPSHOT}/gcc-4.1-${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="~amd64 ~ppc ~sparc ~x86"
-IUSE="doc"
-
-DEPEND="virtual/libc
- >=sys-devel/binutils-2.14.90.0.6-r1
- >=sys-devel/bison-1.875"
-
-RESTRICT="strip"
-
-src_unpack() {
- unpack ${A}
-
- # start by patching and cleaning out binutils and gcc directories.
- cd ${WORKDIR}/binutils-${BASE_BINUTILS}
- epatch ${S}/sources/gcc/gas-${BIN_VER}-tigcc-*.diff
-
- rm -f .brik
- rm -f md5.sum
- rm -f -r INSTALL
- rm -f -r maintainer-scripts
- rm -f -r binutils
- rm -f -r cpu
- rm -f -r etc
- rm -f -r gas/doc
- rm -f -r gas/po
- rm -f -r gprof
- rm -f -r include/nlm
- rm -f -r include/regs
- rm -f -r ld
- rm -f -r texinfo
-
- cd ${WORKDIR}/gcc-4.1-${GCC_SNAPSHOT}
- epatch ${S}/sources/gcc/gcc-4.1-tigcc-patch.diff
-
- rm -f .brik
- rm -f md5.sum
- rm -f -r INSTALL
- rm -f -r fixincludes
- rm -f -r gcc/ginclude
- rm -f -r gcc/po
- rm -f -r gcc/doc
- rm -f -r gcc/treelang
- rm -f -r libcpp/po
- rm -f -r maintainer-scripts
- rm -f -r etc
- rm -f -r gprof
- rm -f -r include/nlm
- rm -f -r include/regs
- rm -f -r texinfo
-
- # 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.1-${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
-
- # GCC compilations _is intended_ to fail on a certain point,
- # don't worry about that.
- emake -j1
-
- # Check if gcc has been built, die otherwise
- ( [ -e ${WORKDIR}/build/gcc/gcc/xgcc ] && [ -e ${WORKDIR}/build/gcc/gcc/cc1 ] ) || die "gcc"
-
- # 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"
-
-}
-
-src_install() {
- # install documentation
- 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/*
- cp html/qt-assistant.adp ${D}/usr/share/doc/${PF}/html
-
- cd ${S}/sources/a68k
- 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
-
- 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
- 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 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 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
-}