[OE-core] tdom recipe
Saul Wold
sgw at linux.intel.com
Fri Dec 27 02:19:09 UTC 2013
On 12/26/2013 04:27 PM, David Good wrote:
> Hello,
>
> I've created a recipe which I would like to add to OpenEmbedded: tDOM.
>
> How do I submit a recipe for approval?
>
This should go to openembedded-devel for inclusion in meta-openembedded,
not openembedded-core.
Other comments below
> --David
>
> DESCRIPTION = "XML data processing in Tcl"
This is more of a SUMMARY, can you expand the DESCRIPTION
> LICENSE = "MPL-1"
> SECTION = "devel/tcltk"
> HOMEPAGE = "http://tdom.github.io/"
> DEPENDS = "tcl-native"
> LIC_FILES_CHKSUM = "file://../LICENSE;md5=
> 4673aaff544d4c9b9a521cb8e0860bfb"
Make sure you disable line-wrapping
> PR = "r0"
>
No PR needed
Sau!
> SRC_URI = "git://github.com/tDOM/tdom.git;protocol=git;tag=master
> <http://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
> }
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
More information about the Openembedded-core
mailing list