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
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#! /bin/bash

# Define parameters
VERS=0.1.5-alpha
PLAINVERS="$(echo "${VERS}" | sed 's@-alpha$@@')"
SRC="src/vectcl-${VERS}.tar.gz"
SRCURL="https://github.com/auriocus/VecTcl/archive/v${VERS}.tar.gz"
BUILDDIR="VecTcl-${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'

# Require Tcl 8.5 to build
setup_tcl85

# Download source
download_src

# Build package
(
	rm -rf build
	mkdir -p "${PLATDIR}" >/dev/null 2>/dev/null
	mkdir build

	cd build/ || exit 1

	gzip -dc "../${SRC}" | tar -xf -
	cd "${BUILDDIR}" || exit 1

	bash ./configure --enable-shared --enable-threads --with-tcl="${TCLCONFIGDIR}" --prefix="${PLATDIR}" --libdir="${PLATDIR}" --bindir="${PLATDIR}" ${CONFIGUREEXTRA}

	${MAKE:-make} || exit 1

	${MAKE:-make} install-binaries PKG_DIR='' || exit 1

	rm -f "${PLATDIR}/vectclConfig.sh"
	rm -f "${PLATDIR}"/*.a
) || exit 1

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

exit 0