blob: 2bd98e73b414bdc89f1f8653d83f5365839dfad1 [file] [log] [blame]
Patrick Williams2390b1b2022-11-03 13:47:49 -05001SUMMARY = "Low-Level Interface to bzip2 compression library"
Andrew Geissler595f6302022-01-24 19:11:47 +00002DESCRIPTION = ""Compress::Raw::Bzip2" provides an interface to the in-memory \
3compression/uncompression functions from the bzip2 compression library."
Patrick Williams2390b1b2022-11-03 13:47:49 -05004HOMEPAGE = "https://metacpan.org/release/Compress-Raw-Bzip2"
Andrew Geissler595f6302022-01-24 19:11:47 +00005SECTION = "libs"
Andrew Geissler9aee5002022-03-30 16:27:02 +00006LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
Andrew Geissler595f6302022-01-24 19:11:47 +00007
Andrew Geisslerfc113ea2023-03-31 09:59:46 -05008LIC_FILES_CHKSUM = "file://README;beginline=8;endline=10;md5=85ab0f65a47c4c0f72dd6d033ff74ece"
Andrew Geissler595f6302022-01-24 19:11:47 +00009
Patrick Williams2390b1b2022-11-03 13:47:49 -050010SRC_URI = "${CPAN_MIRROR}/authors/id/P/PM/PMQS/Compress-Raw-Bzip2-${PV}.tar.gz"
Andrew Geissler595f6302022-01-24 19:11:47 +000011
Patrick Williams2a254922023-08-11 09:48:11 -050012SRC_URI[sha256sum] = "212b81db1c0ae822d19928619a603bd108cb5d5c4700fc67dc7cb169e0cc6525"
Andrew Geissler595f6302022-01-24 19:11:47 +000013
14DEPENDS += "bzip2"
15
16S = "${WORKDIR}/Compress-Raw-Bzip2-${PV}"
17
18inherit cpan
19
20export BUILD_BZIP2="0"
21export BZIP2_INCLUDE="-I${STAGING_DIR_HOST}${includedir}"
22
23do_compile() {
24 export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')"
25 cpan_do_compile
26}
27
28BBCLASSEXTEND = "native"