meta-openembedded/meta-perl/recipes-perl/libcompress/libcompress-raw-lzma-perl_2.221.bb
Wang Mingyu 74f7001ed5
libcompress-raw-lzma-perl: upgrade 2.217 -> 2.221
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-03-17 13:25:26 -07:00

33 lines
950 B
BlitzBasic

SUMMARY = "Low-Level Interface to lzma compresion library."
DESCRIPTION = "This module provides a Perl interface to allow reading and \
wrting of lzma, lzip and xz files/buffers."
HOMEPAGE = "https://metacpan.org/release/Compress-Raw-Lzma"
SECTION = "libs"
LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
LIC_FILES_CHKSUM = "file://README;beginline=8;endline=10;md5=dcf5ec9168367166aaeabb92ee5754e1"
SRC_URI = "${CPAN_MIRROR}/authors/id/P/PM/PMQS/Compress-Raw-Lzma-${PV}.tar.gz"
SRC_URI[sha256sum] = "e8b2d17c7f29b3e4f286cc3d3f5353df8e811615c42298eedad7cdbfec4aed7f"
DEPENDS += "xz"
S = "${UNPACKDIR}/Compress-Raw-Lzma-${PV}"
inherit cpan
RDEPENDS:${PN} += "\
perl-module-universal \
"
export LIBLZMA_INCLUDE = "-I${STAGING_DIR_HOST}${includedir}"
export LIBLZMA_LIB = "-I${STAGING_DIR_HOST}${libdir}"
do_compile() {
export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')"
cpan_do_compile
}
BBCLASSEXTEND = "native"