diff options
-rw-r--r-- | dev-embedded/tigcc/Manifest | 28 | ||||
-rw-r--r-- | dev-embedded/tigcc/files/digest-tigcc-0.96_beta8 | 15 | ||||
-rw-r--r-- | dev-embedded/tigcc/tigcc-0.96_beta8.ebuild | 248 |
3 files changed, 14 insertions, 277 deletions
diff --git a/dev-embedded/tigcc/Manifest b/dev-embedded/tigcc/Manifest index ab2562c2f2e9..3dc352e3d341 100644 --- a/dev-embedded/tigcc/Manifest +++ b/dev-embedded/tigcc/Manifest @@ -28,14 +28,14 @@ EBUILD tigcc-0.96_beta2.ebuild 6307 RMD160 debae289305d8aa6deabcddc7314a1ad1691e 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 @@ -49,13 +49,13 @@ SHA256 9efc8329edba2748ccba28f837b5f33722a089ea678fa7a622b30b836f6159aa files/di 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----- diff --git a/dev-embedded/tigcc/files/digest-tigcc-0.96_beta8 b/dev-embedded/tigcc/files/digest-tigcc-0.96_beta8 deleted file mode 100644 index 0db2f7870317..000000000000 --- a/dev-embedded/tigcc/files/digest-tigcc-0.96_beta8 +++ /dev/null @@ -1,15 +0,0 @@ -MD5 6a9d529efb285071dad10e1f3d2b2967 binutils-2.16.1.tar.bz2 12549917 -RMD160 638861a6b709ac380f1bc13d55c6b48d0532b3d0 binutils-2.16.1.tar.bz2 12549917 -SHA256 351a6846ee179a37ed87a487971547159a7f4f92a1dec598c727f184a0de61ae binutils-2.16.1.tar.bz2 12549917 -MD5 ab4540a43406f08f442a28cf40d29e0c flashosa.zip 2437 -RMD160 9424861be569e6af751271c3143c927f412277ab flashosa.zip 2437 -SHA256 ae0be66d99aea7f7d84364347c220ed1bc8cae5f898a6e8b1a9458b445fdfea4 flashosa.zip 2437 -MD5 17b79ad78932e8711782c1adb48453e9 gcc-4.1-20060728.tar.bz2 37038705 -RMD160 6bd10730f466963440c4fb54df36b34636d9f204 gcc-4.1-20060728.tar.bz2 37038705 -SHA256 2600728a9448522c80ff64f99eff93a4499f0a7aa460c55bb08e76875084417b gcc-4.1-20060728.tar.bz2 37038705 -MD5 ef4d19d5d502288f24611598ce335153 libfargo.zip 14766 -RMD160 08c28c71ead68edcc0e5702bfabce7c9bd225549 libfargo.zip 14766 -SHA256 c37bacb744c94519b1dea0b0b855baa4379b009ec7200437521895f8a9ea90eb libfargo.zip 14766 -MD5 84baea5ce72eac4a46adf784a23a312e tigcc-0.96_beta7.tar.bz2 2828952 -RMD160 11c431a08c0fc8630aab4dcc6f5315b5b38f5f6d tigcc-0.96_beta7.tar.bz2 2828952 -SHA256 da3d75515f1a0091203b3c1f47f8fa342302e45e0bbe62849391ce0935521b0b tigcc-0.96_beta7.tar.bz2 2828952 diff --git a/dev-embedded/tigcc/tigcc-0.96_beta8.ebuild b/dev-embedded/tigcc/tigcc-0.96_beta8.ebuild deleted file mode 100644 index 330cbe242414..000000000000 --- a/dev-embedded/tigcc/tigcc-0.96_beta8.ebuild +++ /dev/null @@ -1,248 +0,0 @@ -# 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 -} |