Upgrade from r131. The version numbering changed to a new style. Split into a BSD licsensed library package and a GPLv2 licsensed package for the CLI tools.
Signed-off-by: Andreas Horsthemke <[email protected]> --- meta/recipes-support/lz4/lz4.bb | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/meta/recipes-support/lz4/lz4.bb b/meta/recipes-support/lz4/lz4.bb index 18e56d04c6..3e43cb70bc 100644 --- a/meta/recipes-support/lz4/lz4.bb +++ b/meta/recipes-support/lz4/lz4.bb @@ -1,12 +1,19 @@ SUMMARY = "Extremely Fast Compression algorithm" DESCRIPTION = "LZ4 is a very fast lossless compression algorithm, providing compression speed at 400 MB/s per core, scalable with multi-cores CPU. It also features an extremely fast decoder, with speed in multiple GB/s per core, typically reaching RAM speed limits on multi-core systems." -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://lib/LICENSE;md5=0b0d063f37a4477b54af2459477dcafd" +# The source includes GPLv2 and BSD licensed files. +# The library in the `lib` directory is under BSD 2-Clause license. +# The CLI tools are GPLv2 licensed. +LICENSE = "GPLv2 & BSD" +LICENSE_${PN} = "BSD" +LICENSE_${PN}-cli = "GPLv2" +LIC_FILES_CHKSUM = "file://lib/LICENSE;md5=ebc2ea4814a64de7708f1571904b32cc \ + file://programs/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" -SRCREV = "d86dc916771c126afb797637dda9f6421c0cb998" +SRCREV = "7bb64ff2b69a9f8367de9ab483cdadf42b4c1b65" -PV = "131+git${SRCPV}" +PE = "1" +PV = "1.7.5+git${SRCPV}" SRC_URI = "git://github.com/Cyan4973/lz4.git" @@ -18,4 +25,8 @@ do_install() { oe_runmake install } +PACKAGES =+ "${PN}-cli" +DESCRIPTION_${PN}-cli = "Command line interface tools for the LZ4 compression algorithm" +FILES_${PN}-cli = "${bindir}/*" + BBCLASSEXTEND += "native nativesdk" -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
