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
40
41
42
43
44
45

46
47
48
49
distclean: clean
	rm -rf autom4te.cache
	rm -f config.log config.status
	rm -f pkgIndex.tcl
	rm -f Makefile

mrproper: distclean

	rm -f configure aclocal.m4
	rm -f config.guess config.sub install-sh

.PHONY: all install clean distclean mrproper







>




39
40
41
42
43
44
45
46
47
48
49
50
distclean: clean
	rm -rf autom4te.cache
	rm -f config.log config.status
	rm -f pkgIndex.tcl
	rm -f Makefile

mrproper: distclean
	rm -rf __TMP__ tcc
	rm -f configure aclocal.m4
	rm -f config.guess config.sub install-sh

.PHONY: all install clean distclean mrproper

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

1
2
3
4
5
6

























#! /bin/bash

cd "$(dirname "$(which "$0")")/.." || exit 1

# Generate configure script
./build/autogen.sh































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#! /bin/bash

cd "$(dirname "$(which "$0")")/.." || exit 1

# Generate configure script
./build/autogen.sh

# Download TCC
(
	TCC_VERSION="0.9.26"
	TCC_URL="http://download.savannah.gnu.org/releases/tinycc/tcc-${TCC_VERSION}.tar.bz2"
	TCC_SHA256='521e701ae436c302545c3f973a9c9b7e2694769c71d9be10f70a2460705b6d71'

	rm -rf __TMP__
	mkdir __TMP__ || exit 1
	cd __TMP__ || exit 1
	wget -O tcc.tar.bz2.new "${TCC_URL}" || rm -f tcc.tar.bz2.new
	TCC_NEW_SHA256="$(openssl sha256 < tcc.tar.bz2.new | sed 's@.*= *@@')"

	if [ "${TCC_NEW_SHA256}" = "${TCC_SHA256}" ]; then
		mv tcc.tar.bz2.new tcc.tar.bz2
	fi

	tar -xf tcc.tar.bz2
	rm -f tcc.tar.bz2

	rm -rf ../tcc
	mkdir ../tcc || exit 1
	mv */* ../tcc/
)
rm -rf __TMP__