Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 1 | SUMMARY = "Extremely Fast Compression algorithm" |
| 2 | 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." |
| 3 | |
| 4 | LICENSE = "BSD | BSD-2-Clause | GPL-2.0" |
| 5 | LIC_FILES_CHKSUM = "file://lib/LICENSE;md5=ebc2ea4814a64de7708f1571904b32cc \ |
| 6 | file://programs/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
| 7 | file://LICENSE;md5=d57c0d21cb917fb4e0af2454aa48b956 \ |
| 8 | " |
| 9 | |
| 10 | PE = "1" |
| 11 | |
Andrew Geissler | 09209ee | 2020-12-13 08:44:15 -0600 | [diff] [blame] | 12 | SRCREV = "d44371841a2f1728a3f36839fd4b7e872d0927d3" |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 13 | |
Andrew Geissler | 09209ee | 2020-12-13 08:44:15 -0600 | [diff] [blame] | 14 | SRC_URI = "git://github.com/lz4/lz4.git;branch=release \ |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 15 | file://run-ptest \ |
| 16 | " |
| 17 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>.*)" |
| 18 | |
| 19 | S = "${WORKDIR}/git" |
| 20 | |
Brad Bishop | 1d80a2e | 2019-11-15 16:35:03 -0500 | [diff] [blame] | 21 | # Fixed in r118, which is larger than the current version. |
| 22 | CVE_CHECK_WHITELIST += "CVE-2014-4715" |
| 23 | |
Andrew Geissler | 4ed12e1 | 2020-06-05 18:00:41 -0500 | [diff] [blame] | 24 | EXTRA_OEMAKE = "PREFIX=${prefix} CC='${CC}' DESTDIR=${D} LIBDIR=${libdir} INCLUDEDIR=${includedir} BUILD_STATIC=no" |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 25 | |
| 26 | do_install() { |
| 27 | oe_runmake install |
| 28 | } |
| 29 | |
| 30 | BBCLASSEXTEND = "native nativesdk" |