mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
7fbb276718
This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. Signed-off-by: Armin Kuster <akuster808@gmail.com>
34 lines
1.1 KiB
BlitzBasic
34 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 = "e483e5fd8a33386fd46967681521bdd2da2b548f"
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit autotools
|
|
|
|
PACKAGECONFIG ??= "threads"
|
|
PACKAGECONFIG[threads] = "--enable-threads,--disable-threads"
|
|
|
|
# Package does not support out of tree builds.
|
|
B = "${S}"
|
|
|
|
# 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}
|
|
}
|