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].

1
2
3
4
5
6
7
8
9

10
11
12
13
14
15
16
#! /bin/bash

OUTFILE="$1"
PKG="$2"
PKGVER="$3"
SRCURL="$4"
PLATFORM="$5"
REQS="$6"
DESC="$7"

TMPFILE="${TMPDIR:-/tmp}/reqfile-$$${RANDOM}${RANDOM}${RANDOM}"
export OUTFILE PKG PKGVER SRCURL PLATFORM REQS DESC TMPFILE

VALIDSYNTAX=1
if [ -z "${OUTFILE}" ]; then
	echo 'ERROR: Output not specified' >&2
	VALIDSYNTAX=0









>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/bash

OUTFILE="$1"
PKG="$2"
PKGVER="$3"
SRCURL="$4"
PLATFORM="$5"
REQS="$6"
DESC="$7"
LICENSE="$8"
TMPFILE="${TMPDIR:-/tmp}/reqfile-$$${RANDOM}${RANDOM}${RANDOM}"
export OUTFILE PKG PKGVER SRCURL PLATFORM REQS DESC TMPFILE

VALIDSYNTAX=1
if [ -z "${OUTFILE}" ]; then
	echo 'ERROR: Output not specified' >&2
	VALIDSYNTAX=0
48
49
50
51
52
53
54



55
56
57
58
59
60
61
rm -f "${TMPFILE}"
cat << __EOF__ > "${TMPFILE}"
Package ${PKG} ${PKGVER}
Meta platform           ${PLATFORM}
Meta rsk::build::date   $(date +%Y-%m-%d)
Meta description        ${DESC}
__EOF__



echo "${REQS}" | tr ',' "\n" | while read req; do
	req="$(echo "${req}" | sed 's@^ *@@;s@ *$@@')"
	if [ -z "${req}" ]; then
		continue
	fi

	if echo "${req}" | grep ' ' >/dev/null; then







>
>
>







49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
rm -f "${TMPFILE}"
cat << __EOF__ > "${TMPFILE}"
Package ${PKG} ${PKGVER}
Meta platform           ${PLATFORM}
Meta rsk::build::date   $(date +%Y-%m-%d)
Meta description        ${DESC}
__EOF__
if [ -n "${LICENSE}" ]; then
	echo "Meta license            ${LICENSE}" >> "${TMPFILE}"
fi
echo "${REQS}" | tr ',' "\n" | while read req; do
	req="$(echo "${req}" | sed 's@^ *@@;s@ *$@@')"
	if [ -z "${req}" ]; then
		continue
	fi

	if echo "${req}" | grep ' ' >/dev/null; then

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

1
2
3
4
5
6
7

8
9
10
11
12
13
14
#! /bin/bash

# Define parameters
VERS=0.11
SRC="src/tcc4tcl-${VERS}.tar.gz"
SRCURL="http://rkeene.org/devel/tcc4tcl-${VERS}.tar.gz"
BUILDDIR="tcc4tcl-${VERS}"

export VERS SRC SRCURL BUILDDIR

# Load common functions
source ../common.sh

# Do not build if the "tcl" platform has been requested
not_platforms 'tcl'







>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/bash

# Define parameters
VERS=0.11
SRC="src/tcc4tcl-${VERS}.tar.gz"
SRCURL="http://rkeene.org/devel/tcc4tcl-${VERS}.tar.gz"
BUILDDIR="tcc4tcl-${VERS}"
LICENSE="LGPLv2.1"
export VERS SRC SRCURL BUILDDIR

# Load common functions
source ../common.sh

# Do not build if the "tcl" platform has been requested
not_platforms 'tcl'
42
43
44
45
46
47
48
49
50
51

	${MAKE:-make} PACKAGE_INSTALL_DIR="${PLATDIR}" || exit 1

	${MAKE:-make} PACKAGE_INSTALL_DIR="${PLATDIR}" install || exit 1
) || exit 1

# Create metadata
../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."

exit 0







|


43
44
45
46
47
48
49
50
51
52

	${MAKE:-make} PACKAGE_INSTALL_DIR="${PLATDIR}" || exit 1

	${MAKE:-make} PACKAGE_INSTALL_DIR="${PLATDIR}" install || exit 1
) || exit 1

# Create metadata
../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}"

exit 0