diff options
Diffstat (limited to 'meta-perl/recipes-perl/libcompress')
3 files changed, 88 insertions, 0 deletions
diff --git a/meta-perl/recipes-perl/libcompress/libcompress-raw-bzip2-perl_2.206.bb b/meta-perl/recipes-perl/libcompress/libcompress-raw-bzip2-perl_2.206.bb new file mode 100644 index 0000000000..2bd98e73b4 --- /dev/null +++ b/meta-perl/recipes-perl/libcompress/libcompress-raw-bzip2-perl_2.206.bb @@ -0,0 +1,28 @@ +SUMMARY = "Low-Level Interface to bzip2 compression library" +DESCRIPTION = ""Compress::Raw::Bzip2" provides an interface to the in-memory \ +compression/uncompression functions from the bzip2 compression library." +HOMEPAGE = "https://metacpan.org/release/Compress-Raw-Bzip2" +SECTION = "libs" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" + +LIC_FILES_CHKSUM = "file://README;beginline=8;endline=10;md5=85ab0f65a47c4c0f72dd6d033ff74ece" + +SRC_URI = "${CPAN_MIRROR}/authors/id/P/PM/PMQS/Compress-Raw-Bzip2-${PV}.tar.gz" + +SRC_URI[sha256sum] = "212b81db1c0ae822d19928619a603bd108cb5d5c4700fc67dc7cb169e0cc6525" + +DEPENDS += "bzip2" + +S = "${WORKDIR}/Compress-Raw-Bzip2-${PV}" + +inherit cpan + +export BUILD_BZIP2="0" +export BZIP2_INCLUDE="-I${STAGING_DIR_HOST}${includedir}" + +do_compile() { + export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" + cpan_do_compile +} + +BBCLASSEXTEND = "native" diff --git a/meta-perl/recipes-perl/libcompress/libcompress-raw-lzma-perl_2.206.bb b/meta-perl/recipes-perl/libcompress/libcompress-raw-lzma-perl_2.206.bb new file mode 100644 index 0000000000..cdabdb1390 --- /dev/null +++ b/meta-perl/recipes-perl/libcompress/libcompress-raw-lzma-perl_2.206.bb @@ -0,0 +1,32 @@ +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=b95311d4a7dbf3d0d3663edc094aced6" + +SRC_URI = "${CPAN_MIRROR}/authors/id/P/PM/PMQS/Compress-Raw-Lzma-${PV}.tar.gz" + +SRC_URI[sha256sum] = "e01a7040b84bdc67592d13eec0c788590e1f696d1d4f07c7097bd72a4f886eb4" + +DEPENDS += "xz" + +S = "${WORKDIR}/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" diff --git a/meta-perl/recipes-perl/libcompress/libcompress-raw-zlib-perl_2.206.bb b/meta-perl/recipes-perl/libcompress/libcompress-raw-zlib-perl_2.206.bb new file mode 100644 index 0000000000..47fe8e0035 --- /dev/null +++ b/meta-perl/recipes-perl/libcompress/libcompress-raw-zlib-perl_2.206.bb @@ -0,0 +1,28 @@ +SUMMARY = "Perl interface to the zlib compression library." +DESCRIPTION = "The Compress::Raw::Zlib module provides a Perl interface \ +to the zlib compression library (see 'AUTHOR' for details about where to \ +get zlib)." +HOMEPAGE = "https://metacpan.org/release/Compress-Raw-Zlib" +SECTION = "libs" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" + +LIC_FILES_CHKSUM = "file://README;beginline=8;endline=17;md5=45bba5fa4937353fd4f505fa2108a6bf" + +SRC_URI = "${CPAN_MIRROR}/authors/id/P/PM/PMQS/Compress-Raw-Zlib-${PV}.tar.gz" + +SRC_URI[sha256sum] = "46785a6a383a1c843895b7f9f25d5d759e7c305159f9d1e04a3604eb74c77374" + +DEPENDS += "zlib" + +S = "${WORKDIR}/Compress-Raw-Zlib-${PV}" + +inherit cpan + +export BUILD_ZLIB="0" + +do_compile() { + export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" + cpan_do_compile +} + +BBCLASSEXTEND = "native" |