summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2024-02-06 10:13:46 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-02-08 10:59:06 +0000
commitd426872674ab31a57cc593303a16ca409ecb0c1c (patch)
tree016eee73a4b39e59db387827c3087dfb46a317aa /meta/recipes-extended
parent20b1e729e1b4d39c245b4e12729f239ff4342062 (diff)
downloadpoky-d426872674ab31a57cc593303a16ca409ecb0c1c.tar.gz
lzlib: add a recipe
This is needed for rpm reproducibility, as otherwise libmagic will call an external lzip executable, which is both non-threadsafe, and non-deterministic w.r.t sysroot presence. (From OE-Core rev: 0e4bde86e1aa499274fc85d01d36a74c3401762e) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/lzip/lzlib_1.14.bb39
1 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-extended/lzip/lzlib_1.14.bb b/meta/recipes-extended/lzip/lzlib_1.14.bb
new file mode 100644
index 0000000000..a6010bbf27
--- /dev/null
+++ b/meta/recipes-extended/lzip/lzlib_1.14.bb
@@ -0,0 +1,39 @@
1SUMMARY = "Data compression library providing in-memory LZMA compression and decompression functions"
2HOMEPAGE = "https://www.nongnu.org/lzip/lzlib.html"
3DESCRIPTION = "Lzlib is a data compression library providing in-memory LZMA compression and decompression functions, including integrity checking of the decompressed data. The compressed data format used by the library is the lzip format. Lzlib is written in C. "
4LICENSE = "BSD-2-Clause"
5LIC_FILES_CHKSUM = "file://COPYING;md5=04d943636aa1482e0a97d924d9f4f68f \
6 "
7
8SRC_URI = "${SAVANNAH_GNU_MIRROR}/lzip/lzlib/lzlib-${PV}.tar.gz"
9SRC_URI[sha256sum] = "5acac8714ed4f306020bae660dddce706e5f8a795863679037da9fe6bf4dcf6f"
10
11B = "${WORKDIR}/build"
12do_configure[cleandirs] = "${B}"
13
14CONFIGUREOPTS = "\
15 '--srcdir=${S}' \
16 '--prefix=${prefix}' \
17 '--exec-prefix=${exec_prefix}' \
18 '--bindir=${bindir}' \
19 '--datadir=${datadir}' \
20 '--infodir=${infodir}' \
21 '--libdir=${libdir}' \
22 '--sysconfdir=${sysconfdir}' \
23 '--enable-shared' \
24 '--disable-static' \
25 'CC=${CC}' \
26 'CPPFLAGS=${CPPFLAGS}' \
27 'CXXFLAGS=${CXXFLAGS}' \
28 'LDFLAGS=${LDFLAGS}' \
29"
30
31do_configure () {
32 ${S}/configure ${CONFIGUREOPTS}
33}
34
35do_install () {
36 oe_runmake 'DESTDIR=${D}' install
37}
38
39BBCLASSEXTEND = "native nativesdk"