Check-in [6c7c2f8719]
Overview
Comment:* tclbdd/build.sh: Add build descriptor for tclbdd [1e7f92c8ba]
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | mr_calvin-tclbdd
Files: files | file ages | folders
SHA1: 6c7c2f871981e982a88ea972b52b923d65987b67
User & Date: ssoberni on 2020-09-09 11:14:59
Other Links: branch diff | manifest | tags
Context
2020-09-09
15:12
Merge trunk Leaf check-in: 78b2ce4284 user: ssoberni tags: mr_calvin-tclbdd
11:14
* tclbdd/build.sh: Add build descriptor for tclbdd [1e7f92c8ba] check-in: 6c7c2f8719 user: ssoberni tags: mr_calvin-tclbdd
2020-09-02
16:01
* nsf/build.sh, patches/all/sf-all-noextern-fix.diff: Provide workaround for Tcl bundled with Kitcreator not providing for the EXTERN macro check-in: 0dc8670b62 user: ssoberni tags: trunk
Changes

Added tclbdd/build.sh version [24ba28832d].



































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
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
32
33
#! /usr/bin/env bash

# BuildCompatible: KitCreator

version='0.1'
fossiltag='2015-01-31'
url="https://chiselapp.com/user/kbk/repository/tclbdd/tarball/tclbdd-tmp.tar.gz?uuid=${fossiltag}"
sha256='ab09c6cc84d42dde3ddc190330ca0bcfe2987fe2c6f225f96010c26dd41ed0e0'

pkg_no_support_for_static='1'

function preconfigure() {
    
    cd "${workdir}" || exit 1

    if [ ! -d tclconfig ]; then

	if [ "${fossiltag}" = "trunk" ]; then
	    fossilid="${fossiltag}"
	else
	    fossilid="$(echo 'file stat configure finfo; set date $finfo(mtime); set date [expr {$date + 1}]; puts [clock format $date -format {%Y-%m-%dT%H:%M:%S}]' | TZ='UTC' "${TCLSH_NATIVE}")"
	fi
	
	"${_download}" "https://core.tcl.tk/tclconfig/tarball/tclconfig-fossil.tar.gz?uuid=${fossilid}" "${archivedir}/tmp-tclconfig.tar.gz" - || rm -f "tmp-tclconfig.tar.gz"
	gzip -dc "${archivedir}/tmp-tclconfig.tar.gz" | tar -xf -
	mv "tclconfig-fossil" "tclconfig"
	
    fi
}

# to-dos:
# - tclbdd does not support static kit builds: _TclTomMathInitializeStubs symbol not found
# - tclbdd has a runtime dependency on tcllib: grammar::aycock package (this cannot be signalled in KC)