unifdef: add UPSTREAM_CHECK_REGEX to filter out development snapshots

Upstream is releasing development snapshots of the form
unifdef-2.11.23.1cca442.tar.gz so filter out versions which end is something
that looks like a git SHA.

(From OE-Core rev: dcf582f8f210c8e9d46f96950d48743819b87f9a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton 2017-02-20 16:56:24 +00:00 committed by Richard Purdie
parent 0cce08ba5a
commit e39ffbcf92
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@ SRC_URI = "http://dotat.at/prog/${BPN}/${BP}.tar.xz"
SRC_URI[md5sum] = "337053fd8a7d9ab3adf5e50f88af95b7"
SRC_URI[sha256sum] = "828ffc270ac262b88fe011136acef2780c05b0dc3c5435d005651740788d4537"
UPSTREAM_CHECK_REGEX = "unifdef-(?P<pver>((\d+\.*)+)(?![a-f0-9]{6,})).tar"
do_install() {
oe_runmake install DESTDIR=${D} prefix=${prefix}
}