10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Load common functions
source ../common.sh
# Do not build if the "tcl" platform has been requested
not_platforms 'tcl'
# Download source
download_src
# Extract package
(
rm -rf build
mkdir build
|
>
>
>
|
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Load common functions
source ../common.sh
# Do not build if the "tcl" platform has been requested
not_platforms 'tcl'
# Requires Tcl 8.5 or newer
setup_tcl 8.5 8.6 || exit 1
# Download source
download_src
# Extract package
(
rm -rf build
mkdir build
|
43
44
45
46
47
48
49
50
51
52
|
${MAKE:-make} PACKAGE_INSTALL_DIR="${PLATDIR}" || exit 1
${MAKE:-make} PACKAGE_INSTALL_DIR="${PLATDIR}" install || exit 1
) || exit 1
# Create metadata
../create_teapot "${PLATDIR}/teapot.txt" "tcc4tcl" "${VERS}" "${SRCURL}" "${PLATFORM}" "Tcl 8.4" "tcc4tcl provides a Tcl binding to the TinyCC compiler. It allows dynamic compilation of C code from within a Tcl interpreter." "${LICENSE}"
exit 0
|
|
|
46
47
48
49
50
51
52
53
54
55
|
${MAKE:-make} PACKAGE_INSTALL_DIR="${PLATDIR}" || exit 1
${MAKE:-make} PACKAGE_INSTALL_DIR="${PLATDIR}" install || exit 1
) || exit 1
# Create metadata
../create_teapot "${PLATDIR}/teapot.txt" "tcc4tcl" "${VERS}" "${SRCURL}" "${PLATFORM}" "Tcl 8.5" "tcc4tcl provides a Tcl binding to the TinyCC compiler. It allows dynamic compilation of C code from within a Tcl interpreter." "${LICENSE}"
exit 0
|