lz4: upgrade to v1.7.5
A message that is not in the archive (sent off-list or not yet received): CAJTo0LYmQj2y_HxBt02efd0906Ljs+FcJE06s=_svn1cCCLHzg () mail !
gmail ! com
PATCH v2 1/1 lz4: upgrade to v1.7.5
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(-)
meta/recipes-support/lz4/lz4.bb +15 -4
@@ -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"
Signature · 1 line
2.11.0
Quoted 5 lines · Andreas Horsthemke
(quoted diff) +2
-0+PACKAGES =+ "${PN}-cli" +DESCRIPTION_${PN}-cli = "Command line interface tools for the LZ4compression algorithm"
+FILES_${PN}-cli = "${bindir}/*"
For compatibility and clarity, I'd say that PN should be the binaries and there should be a liblz4 package with just the library in.
Ross