selinux: uprev inc files to 2.9 (20190315)

* Update SRC_URI
* Add UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
Yi Zhao 2019-11-14 09:48:44 +08:00 committed by Joe MacDonald
parent 7d8eb0fd5b
commit a4196eb862
3 changed files with 9 additions and 8 deletions

View File

@ -1,5 +0,0 @@
SELINUX_RELEASE = "20180524"
SRC_URI = "https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${SELINUX_RELEASE}/${BPN}-${PV}.tar.gz"
include selinux_common.inc

View File

@ -0,0 +1,8 @@
SELINUX_RELEASE = "20190315"
SRC_URI = "https://github.com/SELinuxProject/selinux/releases/download/${SELINUX_RELEASE}/${BPN}-${PV}.tar.gz"
UPSTREAM_CHECK_URI = "https://github.com/SELinuxProject/selinux/releases"
UPSTREAM_CHECK_REGEX = "libselinux-(?P<pver>.+)\.tar\.gz"
require selinux_common.inc

View File

@ -1,9 +1,7 @@
HOMEPAGE = "https://github.com/SELinuxProject"
do_compile() {
oe_runmake all \
INCLUDEDIR='${STAGING_INCDIR}' \
LIBDIR='${STAGING_LIBDIR}'
oe_runmake all
}
do_install() {