Index: server/buildpkgs/create_teapot ================================================================== --- server/buildpkgs/create_teapot +++ server/buildpkgs/create_teapot @@ -5,10 +5,11 @@ 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 @@ -50,10 +51,13 @@ 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 Index: server/buildpkgs/tcc4tcl/build.sh ================================================================== --- server/buildpkgs/tcc4tcl/build.sh +++ server/buildpkgs/tcc4tcl/build.sh @@ -3,10 +3,11 @@ # 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 @@ -44,8 +45,8 @@ ${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." +../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