Check-in [4f493878e3]
Overview
Comment:Updated to supply licensing information in build
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:4f493878e30b4d839a1d4e59c44d72acb4a2ba69
User & Date: rkeene on 2014-05-19 17:01:54
Other Links: manifest | tags
Context
2014-05-22
17:02
Updated to latest tcc4tcl check-in: cbad59149b user: rkeene tags: trunk
2014-05-19
17:01
Updated to supply licensing information in build check-in: 4f493878e3 user: rkeene tags: trunk
03:32
Updated to use "fake-uname" when building Tcl if cross-compiling check-in: 2655d453ea user: rkeene tags: trunk
Changes

Modified server/buildpkgs/create_teapot from [8df8afa355] to [9a72a1a5ae].

     3      3   OUTFILE="$1"
     4      4   PKG="$2"
     5      5   PKGVER="$3"
     6      6   SRCURL="$4"
     7      7   PLATFORM="$5"
     8      8   REQS="$6"
     9      9   DESC="$7"
           10  +LICENSE="$8"
    10     11   TMPFILE="${TMPDIR:-/tmp}/reqfile-$$${RANDOM}${RANDOM}${RANDOM}"
    11     12   export OUTFILE PKG PKGVER SRCURL PLATFORM REQS DESC TMPFILE
    12     13   
    13     14   VALIDSYNTAX=1
    14     15   if [ -z "${OUTFILE}" ]; then
    15     16   	echo 'ERROR: Output not specified' >&2
    16     17   	VALIDSYNTAX=0
................................................................................
    48     49   rm -f "${TMPFILE}"
    49     50   cat << __EOF__ > "${TMPFILE}"
    50     51   Package ${PKG} ${PKGVER}
    51     52   Meta platform           ${PLATFORM}
    52     53   Meta rsk::build::date   $(date +%Y-%m-%d)
    53     54   Meta description        ${DESC}
    54     55   __EOF__
           56  +if [ -n "${LICENSE}" ]; then
           57  +	echo "Meta license            ${LICENSE}" >> "${TMPFILE}"
           58  +fi
    55     59   echo "${REQS}" | tr ',' "\n" | while read req; do
    56     60   	req="$(echo "${req}" | sed 's@^ *@@;s@ *$@@')"
    57     61   	if [ -z "${req}" ]; then
    58     62   		continue
    59     63   	fi
    60     64   
    61     65   	if echo "${req}" | grep ' ' >/dev/null; then

Modified server/buildpkgs/tcc4tcl/build.sh from [0c0c615bac] to [361bfb3874].

     1      1   #! /bin/bash
     2      2   
     3      3   # Define parameters
     4      4   VERS=0.11
     5      5   SRC="src/tcc4tcl-${VERS}.tar.gz"
     6      6   SRCURL="http://rkeene.org/devel/tcc4tcl-${VERS}.tar.gz"
     7      7   BUILDDIR="tcc4tcl-${VERS}"
            8  +LICENSE="LGPLv2.1"
     8      9   export VERS SRC SRCURL BUILDDIR
     9     10   
    10     11   # Load common functions
    11     12   source ../common.sh
    12     13   
    13     14   # Do not build if the "tcl" platform has been requested
    14     15   not_platforms 'tcl'
................................................................................
    42     43   
    43     44   	${MAKE:-make} PACKAGE_INSTALL_DIR="${PLATDIR}" || exit 1
    44     45   
    45     46   	${MAKE:-make} PACKAGE_INSTALL_DIR="${PLATDIR}" install || exit 1
    46     47   ) || exit 1
    47     48   
    48     49   # Create metadata
    49         -../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."
           50  +../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}"
    50     51   
    51     52   exit 0