Check-in [bc4f6068e4]
Overview
Comment:Added UDP package
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:bc4f6068e4de6703aea5b0cf62823c2779c7c2bc
User & Date: rkeene on 2011-07-22 18:35:21
Other Links: manifest | tags
Context
2011-07-22
18:48
Fixed bug in "udp" build check-in: 4788b6cc82 user: rkeene tags: trunk
18:35
Added UDP package check-in: bc4f6068e4 user: rkeene tags: trunk
2011-07-20
00:43
Minor clean-up check-in: dfe475c779 user: rkeene tags: trunk
Changes

Modified .fossil-settings/ignore-glob from [95e2580da5] to [d6ed3f72ed].

    56     56   server/buildpkgs/tdom/src/*
    57     57   server/buildpkgs/tls/build
    58     58   server/buildpkgs/tls/build/*
    59     59   server/buildpkgs/tls/out
    60     60   server/buildpkgs/tls/out/*
    61     61   server/buildpkgs/tls/src
    62     62   server/buildpkgs/tls/src/*
           63  +server/buildpkgs/udp/build
           64  +server/buildpkgs/udp/build/*
           65  +server/buildpkgs/udp/out
           66  +server/buildpkgs/udp/out/*
           67  +server/buildpkgs/udp/src
           68  +server/buildpkgs/udp/src/*
    63     69   server/pkgs
    64     70   server/pkgs/*

Added server/buildpkgs/udp/build.sh version [d6d1c5319e].

            1  +#! /bin/bash
            2  +
            3  +# Define parameters
            4  +VERS=1.0.8
            5  +SRC="src/tcludp-${VERS}.tar.gz"
            6  +SRCURL="http://sourceforge.net/projects/tcludp/files/tcludp/${VERS}/tcludp-${VERS}.tar.gz/download"
            7  +BUILDDIR="tcludp-${VERS}"
            8  +export VERS SRC SRCURL BUILDDIR
            9  +
           10  +# Load common functions
           11  +source ../common.sh
           12  +
           13  +# Do not build if the "tcl" platform has been requested
           14  +not_platforms 'tcl'
           15  +
           16  +# Download source
           17  +download_src
           18  +
           19  +# Build package
           20  +(
           21  +	rm -rf build
           22  +	mkdir -p "${PLATDIR}" >/dev/null 2>/dev/null
           23  +	mkdir build
           24  +
           25  +	cd build/ || exit 1
           26  +
           27  +	gzip -dc "../${SRC}" | tar -xf -
           28  +	cd "${BUILDDIR}" || exit 1
           29  +
           30  +	bash ./configure --enable-shared --enable-threads --with-tcl="${TCLCONFIGDIR}" --prefix="${PLATDIR}" --libdir="${PLATDIR}" --bindir="${PLATDIR}" ${CONFIGUREEXTRA}
           31  +
           32  +	${MAKE:-make} || exit 1
           33  +
           34  +	${MAKE:-make} install-binaries PKG_DIR='' || exit 1
           35  +
           36  +	rm -f "${PLATDIR}"/*.a
           37  +) || exit 1
           38  +
           39  +# Create metadata
           40  +../create_teapot "${PLATDIR}/teapot.txt" "udp" "${VERS}" "${SRCURL}" "${PLATFORM}" "Tcl 8.4" "The TclUDP package provides Tcl with UDP sockets on Windows and UNIX-like systems.  It supports multicast and binary data."
           41  +
           42  +exit 0