mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
smartmontools: add UPSTREAM_CHECK_URI
Add UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX to check the correct latest stable verison. Before the patch: $ devtool latest-version smartmontools INFO: Current version: 7.5 INFO: Latest version: After the patch: $ devtool latest-version smartmontools INFO: Current version: 7.5 INFO: Latest version: 7.5 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
a07d522d70
commit
b0db63dcd1
|
|
@ -19,6 +19,9 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/smartmontools/smartmontools-${PV}.tar.gz \
|
|||
file://0001-configure.ac-Define-SOURCE_DATE_EPOCH-in-CPPFLAGS.patch \
|
||||
"
|
||||
|
||||
UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/smartmontools/files/"
|
||||
UPSTREAM_CHECK_REGEX = "smartmontools-(?P<pver>\d+(\.\d+)+)"
|
||||
|
||||
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'libcap-ng selinux', d)}"
|
||||
PACKAGECONFIG[libcap-ng] = "--with-libcap-ng=yes,--with-libcap-ng=no,libcap-ng"
|
||||
PACKAGECONFIG[selinux] = "--with-selinux=yes,--with-selinux=no,libselinux"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user