Check-in [9474ae442e]
Overview
Comment:Updated to download "tcc" into "tcc" directory
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 9474ae442ef5b0b211994d404e30f7db921eba10
User & Date: rkeene on 2014-05-01 22:10:54
Other Links: manifest | tags
Context
2014-05-05
16:22
Merged in alternate trunk from old development check-in: 75e4d5fbed user: rkeene tags: trunk
2014-05-01
22:10
Updated to download "tcc" into "tcc" directory check-in: 9474ae442e user: rkeene tags: trunk
22:01
Corrected disable-static check-in: 9ab52f4d92 user: rkeene tags: trunk
Changes

Modified Makefile.in from [cb04ffc8c0] to [a2cdbe9632].

    39     39   distclean: clean
    40     40   	rm -rf autom4te.cache
    41     41   	rm -f config.log config.status
    42     42   	rm -f pkgIndex.tcl
    43     43   	rm -f Makefile
    44     44   
    45     45   mrproper: distclean
           46  +	rm -rf __TMP__ tcc
    46     47   	rm -f configure aclocal.m4
    47     48   	rm -f config.guess config.sub install-sh
    48     49   
    49     50   .PHONY: all install clean distclean mrproper

Modified build/pre.sh from [7fa536bdae] to [29bd57d26a].

     1      1   #! /bin/bash
     2      2   
     3      3   cd "$(dirname "$(which "$0")")/.." || exit 1
     4      4   
     5      5   # Generate configure script
     6      6   ./build/autogen.sh
            7  +
            8  +# Download TCC
            9  +(
           10  +	TCC_VERSION="0.9.26"
           11  +	TCC_URL="http://download.savannah.gnu.org/releases/tinycc/tcc-${TCC_VERSION}.tar.bz2"
           12  +	TCC_SHA256='521e701ae436c302545c3f973a9c9b7e2694769c71d9be10f70a2460705b6d71'
           13  +
           14  +	rm -rf __TMP__
           15  +	mkdir __TMP__ || exit 1
           16  +	cd __TMP__ || exit 1
           17  +	wget -O tcc.tar.bz2.new "${TCC_URL}" || rm -f tcc.tar.bz2.new
           18  +	TCC_NEW_SHA256="$(openssl sha256 < tcc.tar.bz2.new | sed 's@.*= *@@')"
           19  +
           20  +	if [ "${TCC_NEW_SHA256}" = "${TCC_SHA256}" ]; then
           21  +		mv tcc.tar.bz2.new tcc.tar.bz2
           22  +	fi
           23  +
           24  +	tar -xf tcc.tar.bz2
           25  +	rm -f tcc.tar.bz2
           26  +
           27  +	rm -rf ../tcc
           28  +	mkdir ../tcc || exit 1
           29  +	mv */* ../tcc/
           30  +)
           31  +rm -rf __TMP__