mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-04 16:10:10 +00:00
Changelog: ============ -Now default the DSOFLAGS value to LDFLAGS in the configure script -Now install the man page as "mxml4" to allow parallel installation of Mini-XML 4.x and 3.x -Added MXML_ALLOC_SIZE define to control the allocation increment for attributes and indices -Fixed mxmlSetDeclarationf implementation -Fixed an issue with GNU make and parallel builds -Fixed missing "docdir" definition in makefile -Fixed missing CPPFLAGS, OPTIM, and WARNINGS in CFLAGS in makefile. -Fixed configure script issues. -Now require C99 support -Now install as "libmxml4" to support installing both Mini-XML 3.x and 4.x at the same time (use --disable-libmxml4-prefix configure option to disable) -Added mxmlLoadIO and mxmlSaveIO functions to load and save XML via callbacks -Added new MXML_TYPE_CDATA, MXML_TYPE_COMMENT, MXML_TYPE_DECLARATION, and MXML_TYPE_DIRECTIVE node types -Added mxmlLoadFilename and mxmlSaveFilename functions -Added AFL fuzzing support -Added mxmlOptions APIs to replace the long list of callbacks and options for each of the load and save functions -Added string copy/free callbacks to support alternate memory management of strings. -Renamed mxml_type_t enumerations to MXML_TYPE_xxx -Updated APIs to use bool type instead of an int representing a boolean value. -Updated the SAX callback to return a bool value to control processing -Updated the load and save callbacks to include a context pointer -Fixed some warnings -Fixed real number support in non-English locales -Updated the autoconf config.guess and config.sub scripts to support cross compilation for newer platforms Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
32 lines
1.1 KiB
BlitzBasic
32 lines
1.1 KiB
BlitzBasic
DESCRIPTION = "Tiny XML Library"
|
|
LICENSE = "Apache-2.0"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
|
|
HOMEPAGE = "https://www.msweet.org/mxml/"
|
|
BUGTRACKER = "https://github.com/michaelrsweet/mxml/issues"
|
|
|
|
SRC_URI = "git://github.com/michaelrsweet/mxml.git;branch=master;protocol=https"
|
|
SRCREV = "804c4f4d922e4ca240ce2cad3ec7bc5d00c08691"
|
|
S = "${WORKDIR}/git"
|
|
|
|
# Package does not support out of tree builds.
|
|
inherit autotools-brokensep
|
|
|
|
PACKAGECONFIG ??= "threads"
|
|
PACKAGECONFIG[threads] = "--enable-threads,--disable-threads"
|
|
|
|
# MXML uses autotools but it explicitly states it does not support autoheader.
|
|
EXTRA_AUTORECONF = "--exclude=autopoint,autoheader"
|
|
|
|
do_configure:prepend() {
|
|
# Respect optimization CFLAGS specified by OE.
|
|
sed -e 's/-Os -g//' -i ${S}/configure.ac
|
|
|
|
# Enable verbose compilation output. This is required for extra QA checks to work.
|
|
sed -e '/.SILENT:/d' -i ${S}/Makefile.in
|
|
}
|
|
|
|
do_install() {
|
|
# Package uses DSTROOT instread of standard DESTDIR to specify install location.
|
|
oe_runmake install DSTROOT=${D}
|
|
}
|