diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-09-27 14:09:21 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-09-28 08:01:10 +0100 |
commit | afefe7de281e558ed823460f80ddc631e718feb3 (patch) | |
tree | 69cc46fb93265fcbc2bcf9064829b088fa2dbed5 /meta/recipes-support/libpcre | |
parent | 35708f8860adbf51549b2b2b07c176ba34eed812 (diff) | |
download | poky-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-support/libpcre')
-rw-r--r-- | meta/recipes-support/libpcre/libpcre2_10.40.bb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/recipes-support/libpcre/libpcre2_10.40.bb b/meta/recipes-support/libpcre/libpcre2_10.40.bb index 8c2cadfe2b..13f7c8305f 100644 --- a/meta/recipes-support/libpcre/libpcre2_10.40.bb +++ b/meta/recipes-support/libpcre/libpcre2_10.40.bb | |||
@@ -10,9 +10,10 @@ SECTION = "devel" | |||
10 | LICENSE = "BSD-3-Clause" | 10 | LICENSE = "BSD-3-Clause" |
11 | LIC_FILES_CHKSUM = "file://LICENCE;md5=41bfb977e4933c506588724ce69bf5d2" | 11 | LIC_FILES_CHKSUM = "file://LICENCE;md5=41bfb977e4933c506588724ce69bf5d2" |
12 | 12 | ||
13 | SRC_URI = "https://github.com/PhilipHazel/pcre2/releases/download/pcre2-${PV}/pcre2-${PV}.tar.bz2" | 13 | SRC_URI = "${GITHUB_BASE_URI}/download/pcre2-${PV}/pcre2-${PV}.tar.bz2" |
14 | 14 | ||
15 | UPSTREAM_CHECK_URI = "https://github.com/PhilipHazel/pcre2/releases" | 15 | GITHUB_BASE_URI = "https://github.com/PhilipHazel/pcre2/releases" |
16 | UPSTREAM_CHECK_REGEX = "releases/tag/pcre2-(?P<pver>.+)" | ||
16 | 17 | ||
17 | SRC_URI[sha256sum] = "14e4b83c4783933dc17e964318e6324f7cae1bc75d8f3c79bc6969f00c159d68" | 18 | SRC_URI[sha256sum] = "14e4b83c4783933dc17e964318e6324f7cae1bc75d8f3c79bc6969f00c159d68" |
18 | 19 | ||
@@ -25,7 +26,7 @@ DEPENDS += "bzip2 zlib" | |||
25 | 26 | ||
26 | BINCONFIG = "${bindir}/pcre2-config" | 27 | BINCONFIG = "${bindir}/pcre2-config" |
27 | 28 | ||
28 | inherit autotools binconfig-disabled | 29 | inherit autotools binconfig-disabled github-releases |
29 | 30 | ||
30 | EXTRA_OECONF = "\ | 31 | EXTRA_OECONF = "\ |
31 | --enable-newline-is-lf \ | 32 | --enable-newline-is-lf \ |