Check-in [bbe03c6049]
Overview
Comment:Added TclLib support
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:bbe03c6049ec842aec4cb1eea7a99619d70596f9
User & Date: rkeene on 2014-12-19 00:43:54
Other Links: manifest | tags
Context
2014-12-19
01:11
Added TclUDP support check-in: 966987c964 user: rkeene tags: trunk
00:43
Added TclLib support check-in: bbe03c6049 user: rkeene tags: trunk
2014-12-11
16:55
Added start of completely-static-pkgs check-in: 1c46fbeaaf user: rkeene tags: trunk
Changes

Modified .fossil-settings/ignore-glob from [5261fbbc36] to [137a3b1513].

   101    101   tls/build.log
   102    102   tls/inst
   103    103   tls/inst/*
   104    104   tls/out
   105    105   tls/out/*
   106    106   tls/src
   107    107   tls/src/*
          108  +tcllib/build
          109  +tcllib/build/*
          110  +tcllib/build.log
          111  +tcllib/inst
          112  +tcllib/inst/*
          113  +tcllib/out
          114  +tcllib/out/*
          115  +tcllib/src
          116  +tcllib/src/*
   108    117   kitdll/buildsrc/kitdll-0.0/starpack.vfs
   109    118   kitdll/buildsrc/kitdll-0.0/starpack.vfs/*
   110    119   kitdll/buildsrc/kitdll-0.0/test
   111    120   kitdll/buildsrc/kitdll-0.0/configure
   112    121   kitdll/buildsrc/kitdll-0.0/libtcl*.so
   113    122   kitdll/buildsrc/kitdll-0.0/Makefile
   114    123   kitdll/buildsrc/kitdll-0.0/*.o

Modified kitcreator from [55f8d0b919] to [99ffc9d1a8].

    26     26   if [ -f 'build/pre.sh' ]; then
    27     27   	if ! find 'kitsh/buildsrc/' -name configure -type f 2>/dev/null | grep configure >/dev/null; then
    28     28   		echo "Please remember to run 'build/pre.sh' if you expect this build to work." >&2
    29     29   	fi
    30     30   fi
    31     31   
    32     32   # Define the list of all packages, for cleaning purposes
    33         -KITCREATOR_ALLPKGS="kitsh tcl tclvfs zlib tk itcl mk4tcl thread dbus tls tclx tcc4tcl"
           33  +KITCREATOR_ALLPKGS="kitsh tcl tclvfs zlib tk itcl mk4tcl thread dbus tls tclx tcc4tcl tcllib"
    34     34   
    35     35   # Always rebuild kitsh
    36     36   rm -f "kitsh/.success"
    37     37   for pkg in ${KITCREATOR_ALLPKGS} ${KITCREATOR_PKGS}; do
    38     38   	if [ "${mode}" != "retry" -o ! -f "${pkg}/.success" ]; then
    39     39   		rm -f "${pkg}/build.log" "${pkg}/.success"
    40     40   		rm -rf "${pkg}/out" "${pkg}/inst" "${pkg}/build"

Added tcllib/build.sh version [0558ed07b0].

            1  +#! /usr/bin/env bash
            2  +
            3  +TCLLIB_VERS='1.16'
            4  +SRC="src/tcllib-${TCLLIB_VERS}.tar.bz2"
            5  +SRCURL="http://sourceforge.net/projects/tcllib/files/tcllib/${TCLLIB_VERS}/Tcllib-${TCLLIB_VERS}.tar.bz2"
            6  +BUILDDIR="$(pwd)/build/Tcllib-${TCLLIB_VERS}"
            7  +OUTDIR="$(pwd)/out"
            8  +INSTDIR="$(pwd)/inst"
            9  +PATCHDIR="$(pwd)/patches"
           10  +export TCLLIB_VERS SRC SRCURL BUILDDIR OUTDIR INSTDIR PATCHDIR
           11  +
           12  +rm -rf 'build' 'out' 'inst'
           13  +mkdir 'build' 'out' 'inst' || exit 1
           14  +
           15  +if [ ! -f "${SRC}" ]; then
           16  +	mkdir 'src' >/dev/null 2>/dev/null
           17  +
           18  +	if [ ! -d 'buildsrc' ]; then
           19  +		rm -f "${SRC}.tmp"
           20  +		wget -O "${SRC}.tmp" "${SRCURL}" || exit 1
           21  +		mv "${SRC}.tmp" "${SRC}"
           22  +	fi
           23  +fi
           24  +
           25  +(
           26  +	cd 'build' || exit 1
           27  +
           28  +	if [ ! -d '../buildsrc' ]; then
           29  +		bzip2 -dc "../${SRC}" | tar -xf -
           30  +	else
           31  +		cp -rp ../buildsrc/* './'
           32  +	fi
           33  +
           34  +	cd "${BUILDDIR}" || exit 1
           35  +
           36  +	./configure --prefix="${INSTDIR}" || exit 1
           37  +
           38  +	make || exit 1
           39  +
           40  +	make install || exit 1
           41  +
           42  +	cp -rp "${INSTDIR}/lib" "${OUTDIR}"
           43  +) || exit 1
           44  +