Check-in [fe053aac46]
Overview
Comment:Added CTk
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:fe053aac4683df30d58478297827b47288c90d1e
User & Date: rkeene on 2011-09-09 15:31:04
Other Links: manifest | tags
Context
2011-09-09
18:01
Updated to install regardless of whether "dtplite" is available or not. check-in: bcecd323e5 user: rkeene tags: trunk
15:31
Added CTk check-in: fe053aac46 user: rkeene tags: trunk
2011-09-06
10:40
Added Tkimg check-in: 7488229692 user: rkeene tags: trunk
Changes

Modified .fossil-settings/ignore-glob from [002f029abe] to [c463a6a0e0].

    20     20   server/buildpkgs/Tk85/src/*
    21     21   server/buildpkgs/Tkimg/build
    22     22   server/buildpkgs/Tkimg/build/*
    23     23   server/buildpkgs/Tkimg/out
    24     24   server/buildpkgs/Tkimg/out/*
    25     25   server/buildpkgs/Tkimg/src
    26     26   server/buildpkgs/Tkimg/src/*
           27  +server/buildpkgs/ctk/build
           28  +server/buildpkgs/ctk/build/*
           29  +server/buildpkgs/ctk/out
           30  +server/buildpkgs/ctk/out/*
           31  +server/buildpkgs/ctk/src
           32  +server/buildpkgs/ctk/src/*
    27     33   server/buildpkgs/dbus-tcl/build
    28     34   server/buildpkgs/dbus-tcl/build/*
    29     35   server/buildpkgs/dbus-tcl/out
    30     36   server/buildpkgs/dbus-tcl/out/*
    31     37   server/buildpkgs/dbus-tcl/src
    32     38   server/buildpkgs/dbus-tcl/src/*
    33     39   server/buildpkgs/dict/build

Added server/buildpkgs/ctk/build.sh version [c5026b8cdd].

            1  +#! /bin/bash
            2  +
            3  +# Define parameters
            4  +VERS=8.0.2793
            5  +SRC="src/ctk-${VERS}.tar.gz"
            6  +SRCURL="http://www.rkeene.org/devel/ctk/ctk-${VERS}.tar.gz"
            7  +BUILDDIR="ctk-${VERS}"
            8  +export VERS SRC SRCURL BUILDDIR
            9  +
           10  +# Load common functions
           11  +source ../common.sh
           12  +
           13  +# Do not build if the "tcl" platform has been requested
           14  +not_platforms 'tcl'
           15  +
           16  +# Download source
           17  +download_src
           18  +
           19  +# Extract source
           20  +(
           21  +	rm -rf build
           22  +	mkdir -p "${PLATDIR}" >/dev/null 2>/dev/null
           23  +	mkdir build
           24  +
           25  +	cd build/ || exit 1
           26  +
           27  +	gzip -dc "../${SRC}" | tar -xf -
           28  +) || exit 1
           29  +
           30  +# Build package
           31  +(
           32  +	cd "build/${BUILDDIR}" || exit 1
           33  +
           34  +	bash ./configure --enable-shared --with-tcl="${TCLCONFIGDIR}" --prefix="${PLATDIR}" --libdir="${PLATDIR}" --bindir="${PLATDIR}" ${CONFIGUREEXTRA}
           35  +
           36  +	${MAKE:-make} || exit 1
           37  +
           38  +	${MAKE:-make} install || exit 1
           39  +
           40  +	mv "${PLATDIR}"/lib/ctk${VERS}/* "${PLATDIR}/"
           41  +	mv "${PLATDIR}"/lib/* "${PLATDIR}/"
           42  +
           43  +	cat << _EOF_ > "${PLATDIR}/pkgIndex.tcl"
           44  +package ifneeded CTk $VERS "[list set env(CTK_LIBRARY) \$dir]; [list load [file join \$dir libctk.so] Tk]; package provide CTk $VERS"
           45  +_EOF_
           46  +
           47  +	rm -f "${PLATDIR}"/*.a
           48  +	rm -rf "${PLATDIR}/man" "${PLATDIR}/include" "${PLATDIR}/ctk${VERS}" "${PLATDIR}/demos" "${PLATDIR}/lib" "${PLATDIR}/bin"
           49  +) || exit 1
           50  +
           51  +# Create metadata
           52  +../create_teapot "${PLATDIR}/teapot.txt" "CTk" "${VERS}" "${SRCURL}" "${PLATFORM}" "Tcl 8.4" "Curses-based Tk"
           53  +
           54  +exit 0