blob: 272f7c5f3325b6386bb16d94d37de04f4705bf2e [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001DESCRIPTION = ""Compress::Raw::Bzip2" provides an interface to the in-memory \
2compression/uncompression functions from the bzip2 compression library."
3
4SECTION = "libs"
5LICENSE = "Artisticv1 | GPLv1+"
6
7MAINTAINER= "Poky <poky@yoctoproject.org>"
8HOMEPAGE= "https://metacpan.org/release/Compress-Raw-Bzip2"
9
10LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \
11file://${COMMON_LICENSE_DIR}/GPL-1.0-only;md5=e9e36a9de734199567a4d769498f743d"
12
13SRC_URI = "https://cpan.metacpan.org/authors/id/P/PM/PMQS/Compress-Raw-Bzip2-2.096.tar.gz"
14
15SRC_URI[md5sum] = "4fdb7ea5071e4b774c52c37331386355"
16SRC_URI[sha256sum] = "a564e7634eca7740c5487d01effe1461e9e51b8909e69b3d8f5be98997958cbe"
17
18DEPENDS += "bzip2"
19
20S = "${WORKDIR}/Compress-Raw-Bzip2-${PV}"
21
22inherit cpan
23
24export BUILD_BZIP2="0"
25export BZIP2_INCLUDE="-I${STAGING_DIR_HOST}${includedir}"
26
27do_compile() {
28 export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')"
29 cpan_do_compile
30}
31
32BBCLASSEXTEND = "native"