mirror of
https://git.yoctoproject.org/poky
synced 2026-04-19 15:32:13 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
20b1e729e1
commit
d426872674
@@ -485,6 +485,7 @@ RECIPE_MAINTAINER:pn-lua = "Alexander Kanavin <alex.kanavin@gmail.com>"
|
||||
RECIPE_MAINTAINER:pn-lz4 = "Denys Dmytriyenko <denis@denix.org>"
|
||||
RECIPE_MAINTAINER:pn-lzo = "Denys Dmytriyenko <denis@denix.org>"
|
||||
RECIPE_MAINTAINER:pn-lzip = "Denys Dmytriyenko <denis@denix.org>"
|
||||
RECIPE_MAINTAINER:pn-lzlib = "Denys Dmytriyenko <denis@denix.org>"
|
||||
RECIPE_MAINTAINER:pn-m4 = "Robert Yang <liezhi.yang@windriver.com>"
|
||||
RECIPE_MAINTAINER:pn-m4-native = "Robert Yang <liezhi.yang@windriver.com>"
|
||||
RECIPE_MAINTAINER:pn-make = "Robert Yang <liezhi.yang@windriver.com>"
|
||||
|
||||
39
meta/recipes-extended/lzip/lzlib_1.14.bb
Normal file
39
meta/recipes-extended/lzip/lzlib_1.14.bb
Normal file
@@ -0,0 +1,39 @@
|
||||
SUMMARY = "Data compression library providing in-memory LZMA compression and decompression functions"
|
||||
HOMEPAGE = "https://www.nongnu.org/lzip/lzlib.html"
|
||||
DESCRIPTION = "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. "
|
||||
LICENSE = "BSD-2-Clause"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=04d943636aa1482e0a97d924d9f4f68f \
|
||||
"
|
||||
|
||||
SRC_URI = "${SAVANNAH_GNU_MIRROR}/lzip/lzlib/lzlib-${PV}.tar.gz"
|
||||
SRC_URI[sha256sum] = "5acac8714ed4f306020bae660dddce706e5f8a795863679037da9fe6bf4dcf6f"
|
||||
|
||||
B = "${WORKDIR}/build"
|
||||
do_configure[cleandirs] = "${B}"
|
||||
|
||||
CONFIGUREOPTS = "\
|
||||
'--srcdir=${S}' \
|
||||
'--prefix=${prefix}' \
|
||||
'--exec-prefix=${exec_prefix}' \
|
||||
'--bindir=${bindir}' \
|
||||
'--datadir=${datadir}' \
|
||||
'--infodir=${infodir}' \
|
||||
'--libdir=${libdir}' \
|
||||
'--sysconfdir=${sysconfdir}' \
|
||||
'--enable-shared' \
|
||||
'--disable-static' \
|
||||
'CC=${CC}' \
|
||||
'CPPFLAGS=${CPPFLAGS}' \
|
||||
'CXXFLAGS=${CXXFLAGS}' \
|
||||
'LDFLAGS=${LDFLAGS}' \
|
||||
"
|
||||
|
||||
do_configure () {
|
||||
${S}/configure ${CONFIGUREOPTS}
|
||||
}
|
||||
|
||||
do_install () {
|
||||
oe_runmake 'DESTDIR=${D}' install
|
||||
}
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
Reference in New Issue
Block a user