summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/expat
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-09-27 14:09:21 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-09-28 08:01:10 +0100
commitafefe7de281e558ed823460f80ddc631e718feb3 (patch)
tree69cc46fb93265fcbc2bcf9064829b088fa2dbed5 /meta/recipes-core/expat
parent35708f8860adbf51549b2b2b07c176ba34eed812 (diff)
downloadpoky-afefe7de281e558ed823460f80ddc631e718feb3.tar.gz
meta: fix version checks in all github recipes using the github-releases class
(From OE-Core rev: b04316bdd28b7945c2c91b4e43c007b650eedc14) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/expat')
-rw-r--r--meta/recipes-core/expat/expat_2.4.9.bb7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/recipes-core/expat/expat_2.4.9.bb b/meta/recipes-core/expat/expat_2.4.9.bb
index cb007708c7..9561edd84f 100644
--- a/meta/recipes-core/expat/expat_2.4.9.bb
+++ b/meta/recipes-core/expat/expat_2.4.9.bb
@@ -8,11 +8,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7b3b078238d0901d3b339289117cb7fb"
8 8
9VERSION_TAG = "${@d.getVar('PV').replace('.', '_')}" 9VERSION_TAG = "${@d.getVar('PV').replace('.', '_')}"
10 10
11SRC_URI = "https://github.com/libexpat/libexpat/releases/download/R_${VERSION_TAG}/expat-${PV}.tar.bz2 \ 11SRC_URI = "${GITHUB_BASE_URI}/download/R_${VERSION_TAG}/expat-${PV}.tar.bz2 \
12 file://run-ptest \ 12 file://run-ptest \
13 " 13 "
14 14
15UPSTREAM_CHECK_URI = "https://github.com/libexpat/libexpat/releases/" 15GITHUB_BASE_URI = "https://github.com/libexpat/libexpat/releases/"
16UPSTREAM_CHECK_REGEX = "releases/tag/R_(?P<pver>.+)"
16 17
17SRC_URI[sha256sum] = "7f44d1469b110773a94b0d5abeeeffaef79f8bd6406b07e52394bcf48126437a" 18SRC_URI[sha256sum] = "7f44d1469b110773a94b0d5abeeeffaef79f8bd6406b07e52394bcf48126437a"
18 19
@@ -20,7 +21,7 @@ EXTRA_OECMAKE:class-native += "-DEXPAT_BUILD_DOCS=OFF"
20 21
21RDEPENDS:${PN}-ptest += "bash" 22RDEPENDS:${PN}-ptest += "bash"
22 23
23inherit cmake lib_package ptest 24inherit cmake lib_package ptest github-releases
24 25
25do_install_ptest:class-target() { 26do_install_ptest:class-target() {
26 install -m 755 ${B}/tests/* ${D}${PTEST_PATH} 27 install -m 755 ${B}/tests/* ${D}${PTEST_PATH}