aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/brotli/brotli_1.0.9.bb
blob: 0038ba74d24f264003ebafb919ebd6cd399fea7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
SUMMARY = "Lossless compression library and tool"
DESCRIPTION = "Brotli is a generic-purpose lossless compression algorithm \
that it is similar in speed to deflate but offers more dense compression."
HOMEPAGE = "https://github.com/google/brotli"
BUGTRACKER = "https://github.com/google/brotli/issues"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=941ee9cd1609382f946352712a319b4b"

SRC_URI = "git://github.com/google/brotli.git \
           file://838.patch "
# tag 1.0.9
SRCREV= "e61745a6b7add50d380cfd7d3883dd6c62fc2c71"
S = "${WORKDIR}/git"

inherit cmake lib_package

do_install_append () {
	for lib in $(ls ${D}${libdir}/*-static.a); do
		mv -v "${lib}" "$(echo ${lib} | sed s/-static//)"
	done
}

BBCLASSEXTEND = "native"