Overview
| Comment: | Migrated TclX to the new build system |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
db64a530a0015ba743d8824542133340 |
| User & Date: | rkeene on 2016-09-06 03:55:19 |
| Other Links: | manifest | tags |
Context
|
2016-09-06
| ||
| 04:32 | Added dbus/dbif to simplified build system, which required supporting building multiple packages in a package directory check-in: dec2be8d9f user: rkeene tags: trunk | |
| 03:55 | Migrated TclX to the new build system check-in: db64a530a0 user: rkeene tags: trunk | |
| 03:44 | Updated to not print a spurious error to the kitsh build log when Tk is not built check-in: a23f2effdc user: rkeene tags: trunk | |
Changes
Modified common/common.sh from [f1093e6987] to [910bb9be64].
| ︙ | ︙ | |||
27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
if [ -f "${TCLCONFIGDIR}/tclConfig.sh" ]; then
source "${TCLCONFIGDIR}/tclConfig.sh"
fi
mkdir -p "${installdir}" "${runtimedir}"
export TCL_VERSION
}
function predownload() {
:
}
function download() {
| > | 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
if [ -f "${TCLCONFIGDIR}/tclConfig.sh" ]; then
source "${TCLCONFIGDIR}/tclConfig.sh"
fi
mkdir -p "${installdir}" "${runtimedir}"
export TCL_VERSION
}
function predownload() {
:
}
function download() {
|
| ︙ | ︙ | |||
217 218 219 220 221 222 223 224 225 226 227 228 229 230 |
local installpkgdir
local pkglibfile
mkdir -p "${installdir}/lib" || return 1
${MAKE:-make} tcllibdir="${installdir}/lib" "${make_extra[@]}" install || return 1
# Create pkgIndex if needed
installpkgdir="$(echo "${installdir}/lib"/*)"
if [ -d "${installpkgdir}" ]; then
if [ ! -e "${installpkgdir}/pkgIndex.tcl" ]; then
case "${pkg_configure_shared_build}" in
0)
cat << _EOF_ > "${installpkgdir}/pkgIndex.tcl"
| > > > > > > > > | | | 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 |
local installpkgdir
local pkglibfile
mkdir -p "${installdir}/lib" || return 1
${MAKE:-make} tcllibdir="${installdir}/lib" "${make_extra[@]}" install || return 1
# Create pkgIndex if needed
if [ -z "${tclpkg}" ]; then
tclpkg="${pkg}"
fi
if [ -z "${tclpkgversion}" ]; then
tclpkgversion="${version}"
fi
installpkgdir="$(echo "${installdir}/lib"/*)"
if [ -d "${installpkgdir}" ]; then
if [ ! -e "${installpkgdir}/pkgIndex.tcl" ]; then
case "${pkg_configure_shared_build}" in
0)
cat << _EOF_ > "${installpkgdir}/pkgIndex.tcl"
package ifneeded ${tclpkg} ${tclpkgversion} [list load {} ${tclpkg}]
_EOF_
;;
1)
pkglibfile="$(find "${installpkgdir}" -name '*.so' -o -name '*.dylib' -o -name '*.dll' -o -name '*.shlib' | head -n 1 | sed 's@^.*/@@')"
cat << _EOF_ > "${installpkgdir}/pkgIndex.tcl"
package ifneeded ${tclpkg} ${tclpkgversion} [list load [file join \$dir ${pkglibfile}]]
_EOF_
;;
esac
fi
fi
}
|
| ︙ | ︙ |
Modified tclx/build.sh from [0d543b9c73] to [7fff79d460].
1 2 | #! /usr/bin/env bash | < < | < < < < < < < | < | < < < < < < | < < < < < < | < < | < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < | 1 2 3 4 5 6 7 8 9 |
#! /usr/bin/env bash
# BuildCompatible: KitCreator
version="8.4.1"
url="http://sourceforge.net/projects/tclx/files/TclX/${version}/tclx${version}.tar.bz2"
sha256='a9b41f606ec6c1268b9c78512e6e1cb533bd9ae3e786e650d111fc16ffe758ec'
tclpkg='Tclx'
tclpkgversion='8.4'
|