summaryrefslogtreecommitdiffstats
path: root/meta-perl/recipes-perl/libcompress/libcompress-raw-lzma-perl_2.213.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-perl/recipes-perl/libcompress/libcompress-raw-lzma-perl_2.213.bb')
-rw-r--r--meta-perl/recipes-perl/libcompress/libcompress-raw-lzma-perl_2.213.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-perl/recipes-perl/libcompress/libcompress-raw-lzma-perl_2.213.bb b/meta-perl/recipes-perl/libcompress/libcompress-raw-lzma-perl_2.213.bb
new file mode 100644
index 0000000000..6f18bae7dd
--- /dev/null
+++ b/meta-perl/recipes-perl/libcompress/libcompress-raw-lzma-perl_2.213.bb
@@ -0,0 +1,32 @@
1SUMMARY = "Low-Level Interface to lzma compresion library."
2DESCRIPTION = "This module provides a Perl interface to allow reading and \
3wrting of lzma, lzip and xz files/buffers."
4HOMEPAGE = "https://metacpan.org/release/Compress-Raw-Lzma"
5SECTION = "libs"
6LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
7
8LIC_FILES_CHKSUM = "file://README;beginline=8;endline=10;md5=2a0fd6d30eaf88289587b776f74c2886"
9
10SRC_URI = "${CPAN_MIRROR}/authors/id/P/PM/PMQS/Compress-Raw-Lzma-${PV}.tar.gz"
11
12SRC_URI[sha256sum] = "6b979a8347701ced3ac26123d428c1f202b7999850444da19c4aedbb7c862cb7"
13
14DEPENDS += "xz"
15
16S = "${UNPACKDIR}/Compress-Raw-Lzma-${PV}"
17
18inherit cpan
19
20RDEPENDS:${PN} += "\
21 perl-module-universal \
22"
23
24export LIBLZMA_INCLUDE = "-I${STAGING_DIR_HOST}${includedir}"
25export LIBLZMA_LIB = "-I${STAGING_DIR_HOST}${libdir}"
26
27do_compile() {
28 export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')"
29 cpan_do_compile
30}
31
32BBCLASSEXTEND = "native"