Openembedded Core Discussions
 help / color / mirror / Atom feed
* tdom recipe
@ 2013-12-27  0:27 David Good
  2013-12-27  2:19 ` Saul Wold
  0 siblings, 1 reply; 2+ messages in thread
From: David Good @ 2013-12-27  0:27 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1460 bytes --]

Hello,

I've created a recipe which I would like to add to OpenEmbedded: tDOM.

How do I submit a recipe for approval?

--David

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

FILES_${PN} += "${libdir}/tdom0.8.3/"

CONFIGUREOPTS = " \
             --build=${BUILD_SYS} \
         --host=${HOST_SYS} \
             --target=${TARGET_SYS} \
"
EXTRA_OECONF = " \
             --with-tcl=${STAGING_BINDIR_CROSS} \
             --with-tclinclude=${STAGING_INCDIR} \
             "

do_configure() {
        oe_runconf
}

oe_runconf () {
    cfgscript="${S}/../configure"
    if [ -x "$cfgscript" ] ; then
        bbnote "Running $cfgscript ${CONFIGUREOPTS} ${EXTRA_OECONF} $@"
        set +e
        ${CACHED_CONFIGUREVARS} $cfgscript ${CONFIGUREOPTS} ${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
}

[-- Attachment #2: Type: text/html, Size: 2003 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-27  2:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-27  0:27 tdom recipe David Good
2013-12-27  2:19 ` Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox