c-ares: inherit github-releases class

Inherit github-releases class to check the correct latest stable
verison.

Before the patch:
$ devtool latest-version c-ares
INFO: Current version: 1.34.5
INFO: Latest version:

After the patch:
$ devtool latest-version c-ares
INFO: Current version: 1.34.5
INFO: Latest version: 1.34.5

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Yi Zhao 2025-11-12 21:43:50 +08:00 committed by Khem Raj
parent 82371d6b24
commit 99dbf4cfbd
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -14,7 +14,7 @@ PACKAGECONFIG ?= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}"
PACKAGECONFIG[manpages] = ""
PACKAGECONFIG[tests] = "-DCARES_BUILD_TESTS=ON,-DCARES_BUILD_TESTS=OFF,googletest"
inherit cmake manpages pkgconfig ptest
inherit cmake manpages pkgconfig ptest github-releases
EXTRA_OECMAKE = "-DCARES_STATIC=${@ 'ON' if d.getVar('DISABLE_STATIC') == '' else 'OFF' }"