Posted to tcl by dgood` at Tue Dec 24 00:04:16 GMT 2013view raw
- DESCRIPTION = "XML data processing in Tcl"
- LICENSE = "MPL-1"
- SECTION = "devel/tcltk"
- HOMEPAGE = "http://tdom.github.io/"
- DEPENDS = "tcl-native"
- LIC_FILES_CHKSUM = "file://../LICENSE;md5=4673aaff544d4c9b9a521cb8e0860bfb"
- PR = "r0"
- SRC_URI = "git://github.com/tDOM/tdom.git;protocol=git;tag=master"
- S = "${WORKDIR}/git/unix"
- inherit autotools
- CONFIGUREOPTS = " \
- --build=${BUILD_SYS} \
- --host=${HOST_SYS} \
- --target=${TARGET_SYS} \
- --prefix=${D}/usr \
- --exec_prefix=${D}/usr \
- "
- EXTRA_OECONF = " \
- --with-tcl=${STAGING_LIBDIR} \
- TCL_LIB_SPEC='-L${STAGING_LIBDIR} -ltcl8.5' \
- SHLIB_LD_LIBS='${LIBS} -L${STAGING_LIBDIR} -ltclstub8.5' \
- "
- do_configure() {
- # ../configure --with-tcl=${STAGING_LIBDIR} --host=arm-angstrom-linux-gnueabi --prefix=${D}
- oe_runconf
- }
- oe_runconf () {
- cfgscript="${S}/../configure"
- if [ -x "$cfgscript" ] ; then
- bbnote "Running $cfgscript ${CONFIGUREOPTS} ${EXTRA_OECONF} $@"
- # bbnote "Running $cfgscript ${EXTRA_OECONF} $@"
- set +e
- ${CACHED_CONFIGUREVARS} $cfgscript ${CONFIGUREOPTS} ${EXTRA_OECONF} "$@"
- # ${CACHED_CONFIGUREVARS} $cfgscript ${EXTRA_OECONF} "$@"
- if [ "$?" != "0" ]; then
- echo "Configure failed. The contents of all config.log files follows to aid debugging"
- find ${S} -name config.log -print -exec cat {} \;
- bbfatal "oe_runconf failed"
- fi
- set -e
- else
- bbfatal "no configure script found at $cfgscript"
- fi
- }