xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/brotli/brotli_1.0.9.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1SUMMARY = "Lossless compression library and tool"
2DESCRIPTION = "Brotli is a generic-purpose lossless compression algorithm \
3that it is similar in speed to deflate but offers more dense compression."
4HOMEPAGE = "https://github.com/google/brotli"
5BUGTRACKER = "https://github.com/google/brotli/issues"
6LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=941ee9cd1609382f946352712a319b4b"
8
9SRC_URI = "git://github.com/google/brotli.git;branch=master;protocol=https \
10           file://838.patch "
11# tag 1.0.9
12SRCREV= "e61745a6b7add50d380cfd7d3883dd6c62fc2c71"
13S = "${WORKDIR}/git"
14
15inherit cmake lib_package
16
17do_install:append () {
18	for lib in $(ls ${D}${libdir}/*-static.a); do
19		mv -v "${lib}" "$(echo ${lib} | sed s/-static//)"
20	done
21}
22
23BBCLASSEXTEND = "native"
24