From 58387081fd87519187ddadd8da662a3c7ff615b1 Mon Sep 17 00:00:00 2001 From: Denis Dupeyron Date: Sat, 5 Jan 2008 09:13:28 +0000 Subject: Fixed bug #204379. Many QA cleanups. Package-Manager: portage-2.1.4_rc14 --- dev-embedded/tigcc/ChangeLog | 7 ++- dev-embedded/tigcc/Manifest | 16 ++--- dev-embedded/tigcc/tigcc-0.96_beta7.ebuild | 97 +++++++++++++++--------------- 3 files changed, 63 insertions(+), 57 deletions(-) (limited to 'dev-embedded') diff --git a/dev-embedded/tigcc/ChangeLog b/dev-embedded/tigcc/ChangeLog index e7042a6193bc..82f99ffecc26 100644 --- a/dev-embedded/tigcc/ChangeLog +++ b/dev-embedded/tigcc/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-embedded/tigcc -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/tigcc/ChangeLog,v 1.17 2007/02/21 19:41:30 calchan Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/tigcc/ChangeLog,v 1.18 2008/01/05 09:13:28 calchan Exp $ + + 05 Jan 2008; Denis Dupeyron tigcc-0.96_beta7.ebuild: + Fixed bug #204379. Many QA cleanups. 21 Feb 2007; Denis Dupeyron files/digest-tigcc-0.95-r2, files/digest-tigcc-0.95_p3, diff --git a/dev-embedded/tigcc/Manifest b/dev-embedded/tigcc/Manifest index 0f83715cad98..9ab43f3fbd31 100644 --- a/dev-embedded/tigcc/Manifest +++ b/dev-embedded/tigcc/Manifest @@ -25,14 +25,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_beta7.ebuild 6823 RMD160 cb0acfe6c0dc08a17bcb2355064beb66e7e5036d SHA1 f184102598de54c562acc1117383dd946aeda030 SHA256 675cecb20b31e17e6c5792b77ee69a95dbb352761bc7ad4bab0dea2b5fa6d42e -MD5 bfcb471813fcc981b2027e3d38771f46 tigcc-0.96_beta7.ebuild 6823 -RMD160 cb0acfe6c0dc08a17bcb2355064beb66e7e5036d tigcc-0.96_beta7.ebuild 6823 -SHA256 675cecb20b31e17e6c5792b77ee69a95dbb352761bc7ad4bab0dea2b5fa6d42e tigcc-0.96_beta7.ebuild 6823 -MISC ChangeLog 2634 RMD160 81beece033c89c4889a7d7b2036392b88d213f12 SHA1 f0a277d77da170e0b50dca772c0f6dfad1325872 SHA256 6ae49c4b294a820dbd5c629ad1e30afabe7e15c73da4011186999b5604abc946 -MD5 ded7398326c3a943b4ae8f53859bc1ff ChangeLog 2634 -RMD160 81beece033c89c4889a7d7b2036392b88d213f12 ChangeLog 2634 -SHA256 6ae49c4b294a820dbd5c629ad1e30afabe7e15c73da4011186999b5604abc946 ChangeLog 2634 +EBUILD tigcc-0.96_beta7.ebuild 6913 RMD160 7b83a8bde342e4f4e63466b440b361bf96f08c35 SHA1 b8075b0d33426d47d0a50ff587cdf3d01b41b297 SHA256 c4a0aba30ee392ff7146dd9c0dca65d9252334c9a990e15ec9a0d78fd06adafb +MD5 f36c3d5b5a1ea8a01fda72a10ef9bc6c tigcc-0.96_beta7.ebuild 6913 +RMD160 7b83a8bde342e4f4e63466b440b361bf96f08c35 tigcc-0.96_beta7.ebuild 6913 +SHA256 c4a0aba30ee392ff7146dd9c0dca65d9252334c9a990e15ec9a0d78fd06adafb tigcc-0.96_beta7.ebuild 6913 +MISC ChangeLog 2750 RMD160 9d9ba36c68c50df25e6151cf57a86c99a7030cab SHA1 fbcaa1b760aad08624316957d6d9c7914c5cffd0 SHA256 fa615ded4eb350afb95c6a751e2f6b91bcc8661c72647472e6e04e1261604449 +MD5 39e4d50c9dcc661e0a0a0722e9433f3b ChangeLog 2750 +RMD160 9d9ba36c68c50df25e6151cf57a86c99a7030cab ChangeLog 2750 +SHA256 fa615ded4eb350afb95c6a751e2f6b91bcc8661c72647472e6e04e1261604449 ChangeLog 2750 MISC metadata.xml 165 RMD160 3965c22a153ed350bcbd52de07c08ad47dd03cd7 SHA1 54b9da7fdc6d8376c990288c72938be9855ef8b6 SHA256 fb7ede94a0633f77d601e3e81580eac1624a3bca14401a49d94082579507ba0a MD5 420df847a3db1c4969aff20243f656dd metadata.xml 165 RMD160 3965c22a153ed350bcbd52de07c08ad47dd03cd7 metadata.xml 165 diff --git a/dev-embedded/tigcc/tigcc-0.96_beta7.ebuild b/dev-embedded/tigcc/tigcc-0.96_beta7.ebuild index e81db2b0995f..e8e5fdda97db 100644 --- a/dev-embedded/tigcc/tigcc-0.96_beta7.ebuild +++ b/dev-embedded/tigcc/tigcc-0.96_beta7.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/tigcc/tigcc-0.96_beta7.ebuild,v 1.4 2007/07/15 03:57:21 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/tigcc/tigcc-0.96_beta7.ebuild,v 1.5 2008/01/05 09:13:28 calchan Exp $ inherit eutils @@ -9,7 +9,7 @@ GCC_VER="4.1.2" GCC_SNAPSHOT="20060728" BIN_VER=${BASE_BINUTILS:0:4} ENV_FILE=${D}/etc/env.d/99tigcc -S=$WORKDIR +S="${WORKDIR}" DESCRIPTION="Cross compiler for Texas Instruments TI-89, TI-92(+) and V200 calculators" HOMEPAGE="http://tigcc.ticalc.org" @@ -32,18 +32,21 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~sparc ~x86" IUSE="doc" -DEPEND="virtual/libc +RDEPEND="virtual/libc >=sys-devel/binutils-2.14.90.0.6-r1 >=sys-devel/bison-1.875" +DEPEND="${RDEPEND} + app-arch/unzip" + 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 + cd "${WORKDIR}"/binutils-${BASE_BINUTILS} + epatch "${S}"/sources/gcc/gas-${BIN_VER}-tigcc-*.diff rm -f .brik rm -f md5.sum @@ -60,8 +63,8 @@ src_unpack() { 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 + cd "${WORKDIR}"/gcc-4.1-${GCC_SNAPSHOT} + epatch "${S}"/sources/gcc/gcc-4.1-tigcc-patch.diff rm -f .brik rm -f md5.sum @@ -80,26 +83,26 @@ src_unpack() { rm -f -r texinfo # create build directories for binutils and gcc - mkdir -p ${WORKDIR}/build/binutils - mkdir ${WORKDIR}/build/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 + 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 \ + 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 \ + 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 \ @@ -110,26 +113,26 @@ src_compile() { emake -j1 # Check if gcc has been built, die otherwise - ( [ -e ${WORKDIR}/build/gcc/gcc/xgcc ] && [ -e ${WORKDIR}/build/gcc/gcc/cc1 ] ) || die "gcc" + ( [ -e "${WORKDIR}"/build/gcc/gcc/xgcc ] && [ -e "${WORKDIR}"/build/gcc/gcc/cc1 ] ) || die "gcc" # build a68k assembler - cd ${S}/sources/a68k + cd "${S}"/sources/a68k emake -e || die "a68k" # build ld-tigcc linker - cd ${S}/sources/ld-tigcc + cd "${S}"/sources/ld-tigcc emake -e || die "ld-tigcc" # build tigcc front-end - cd ${S}/sources/tigcc/src + cd "${S}"/sources/tigcc/src emake -e || die "tigcc" # build tprbuilder (TIGCC project builder) - cd ${S}/sources/tprbuilder/src + cd "${S}"/sources/tprbuilder/src emake -e || die "tprbuilder" # build patcher (object file patcher) - cd ${S}/sources/patcher/src + cd "${S}"/sources/patcher/src emake -e || die "patcher" } @@ -142,38 +145,38 @@ src_install() { # 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 + "${S}"/tigcclib/doc/converter/tigccdoc \ + > "${S}"/tigcclib/doc/converter/tigccdoc.new - cd ${S}/tigcclib/doc/converter + cd "${S}"/tigcclib/doc/converter newbin tigccdoc.new tigccdoc - cd ${S}/tigcclib/doc + cd "${S}"/tigcclib/doc dohtml -r html/* - cp html/qt-assistant.adp ${D}/usr/share/doc/${PF}/html + cp html/qt-assistant.adp "${D}"/usr/share/doc/${PF}/html - cd ${S}/sources/a68k + cd "${S}"/sources/a68k fi dodir /usr/share/doc/${PF} - cd ${S} - dodoc AUTHORS BUGS CHANGELOG COPYING DIRECTORIES HOWTO \ + cd "${S}" + dodoc AUTHORS BUGS CHANGELOG DIRECTORIES HOWTO \ INSTALL README README.linux README.osX - cd ${S}/sources/tigcc + cd "${S}"/sources/tigcc docinto tigcc - dodoc AUTHORS COPYING ChangeLog README + dodoc AUTHORS ChangeLog README - cd ${S}/sources/tprbuilder + cd "${S}"/sources/tprbuilder docinto tprbuilder - dodoc AUTHORS COPYING ChangeLog README + dodoc AUTHORS ChangeLog README - cd ${S}/sources/patcher + cd "${S}"/sources/patcher docinto patcher - dodoc AUTHORS COPYING ChangeLog README + dodoc AUTHORS ChangeLog README exeinto /usr/ti-linux-gnu/tigcc-bin/${GCC_VER} # install gcc - cd ${WORKDIR}/build/gcc + cd "${WORKDIR}"/build/gcc doexe gcc/cc1 newexe gcc/xgcc gcc dosym /usr/ti-linux-gnu/tigcc-bin/${GCC_VER}/gcc \ @@ -182,48 +185,48 @@ src_install() { # 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 + cd "${WORKDIR}"/build/binutils newexe gas/as-new as # install a68k - cd ${S}/sources/a68k + cd "${S}"/sources/a68k newexe A68k a68k # install ld-tigcc - cd ${S}/sources/ld-tigcc + cd "${S}"/sources/ld-tigcc doexe ld-tigcc doexe ar-tigcc # install tigcc - cd ${S}/sources/tigcc/src + 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 + cd "${S}"/sources/tprbuilder/src doexe tprbuilder # install patcher - cd ${S}/sources/patcher/src + cd "${S}"/sources/patcher/src doexe patcher # install header files dodir /usr/include/tigcc - cp -R ${S}/tigcclib/include/* ${D}/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 + cd "${S}"/tigcclib doins lib/* - cd ${WORKDIR} + cd "${WORKDIR}" doins flashos.a doins fargo.a dodir /usr/share/tigcc # copy example programs - # cp -r ${S}/examples ${D}/usr/share/tigcc + # cp -r "${S}"/examples ${D}/usr/share/tigcc # create TIGCC env variable dodir /etc/env.d/gcc -- cgit v1.2.3-65-gdbad