Check-in [371e9a9924]
Overview
Comment:Added VecTcl
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:371e9a99243c6d878347a975f940a0015e8368b0
User & Date: rkeene on 2014-05-16 15:26:46
Other Links: manifest | tags
Context
2014-05-16
16:16
Removed subversion reference check-in: d44089b785 user: rkeene tags: trunk
15:26
Added VecTcl check-in: 371e9a9924 user: rkeene tags: trunk
15:25
Updated to includ win32/win64 in platforms to build for check-in: 297696d6f5 user: rkeene tags: trunk
Changes

Added server/buildpkgs/vectcl/build.sh version [3bf929969d].

            1  +#! /bin/bash
            2  +
            3  +# Define parameters
            4  +VERS=0.1.5-alpha
            5  +PLAINVERS="$(echo "${VERS}" | sed 's@-alpha$@@')"
            6  +SRC="src/vectcl-${VERS}.tar.gz"
            7  +SRCURL="https://github.com/auriocus/VecTcl/archive/v${VERS}.tar.gz"
            8  +BUILDDIR="VecTcl-${VERS}"
            9  +export VERS SRC SRCURL BUILDDIR
           10  +
           11  +# Load common functions
           12  +source ../common.sh
           13  +
           14  +# Do not build if the "tcl" platform has been requested
           15  +not_platforms 'tcl'
           16  +
           17  +# Require Tcl 8.5 to build
           18  +setup_tcl85
           19  +
           20  +# Download source
           21  +download_src
           22  +
           23  +# Build package
           24  +(
           25  +	rm -rf build
           26  +	mkdir -p "${PLATDIR}" >/dev/null 2>/dev/null
           27  +	mkdir build
           28  +
           29  +	cd build/ || exit 1
           30  +
           31  +	gzip -dc "../${SRC}" | tar -xf -
           32  +	cd "${BUILDDIR}" || exit 1
           33  +
           34  +	bash ./configure --enable-shared --enable-threads --with-tcl="${TCLCONFIGDIR}" --prefix="${PLATDIR}" --libdir="${PLATDIR}" --bindir="${PLATDIR}" ${CONFIGUREEXTRA}
           35  +
           36  +	${MAKE:-make} || exit 1
           37  +
           38  +	${MAKE:-make} install-binaries PKG_DIR='' || exit 1
           39  +
           40  +	rm -f "${PLATDIR}/vectclConfig.sh"
           41  +	rm -f "${PLATDIR}"/*.a
           42  +) || exit 1
           43  +
           44  +# Create metadata
           45  +../create_teapot "${PLATDIR}/teapot.txt" "vectcl" "${VERS}" "${SRCURL}" "${PLATFORM}" 'Tcl 8.6,TclOO' "Numeric array and linear algebra extension for Tcl.  http://auriocus.github.io/VecTcl"
           46  +
           47  +exit 0