Skip to contentSkip to conversation

io-compress-lzma-perl: add recipe for version 2.096

PATCH In review Sakib Sajal 2 participants 2 messages Dec 3, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 io-compress-lzma-perl: add recipe for version 2.096

Add recipe for io-compress-lzma-perl and its dependencies.

---
 .../libio/compress-raw-lzma-perl_2.096.bb     | 33 +++++++++++++++++++
 .../libio/io-compress-lzma-perl_2.096.bb      | 25 ++++++++++++++
 .../libio/io-compress-perl_2.096.bb           | 25 ++++++++++++++
 3 files changed, 83 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libio/compress-raw-lzma-perl_2.096.bb
 create mode 100644 meta-perl/recipes-perl/libio/io-compress-lzma-perl_2.096.bb
 create mode 100644 meta-perl/recipes-perl/libio/io-compress-perl_2.096.bb
meta-perl/recipes-perl/libio/compress-raw-lzma-perl_2.096.bb new file +33 -0
new file mode 100644
index 000000000..431a18f0c
@@ -0,0 +1,33 @@
+DESCRIPTION = ""Compress::Raw::Lzma" provides an interface to the in-memory \
+compression/uncompression functions from the lzma compression library."
+
+SECTION = "libs"
+LICENSE = "Artisticv1 | GPLv1+"
+PR = "r0"
+
+MAINTAINER=	"Poky <[email protected]>"
+HOMEPAGE=	"https://metacpan.org/release/Compress-Raw-Lzma"
+
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \
+file://${COMMON_LICENSE_DIR}/GPL-1.0-only;md5=e9e36a9de734199567a4d769498f743d"
+
+SRC_URI = "https://cpan.metacpan.org/authors/id/P/PM/PMQS/Compress-Raw-Lzma-2.096.tar.gz"
+
+SRC_URI[md5sum] = "b5079bb43712fcd1e74b80777fa376ed"
+SRC_URI[sha256sum] = "f3afb267b1303b0f125976e9e4a70c6a4a205e35e7c99b408911f5e5c6578217"
+
+DEPENDS += "xz"
+
+S = "${WORKDIR}/Compress-Raw-Lzma-${PV}"
+
+inherit cpan
+
+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"
meta-perl/recipes-perl/libio/io-compress-lzma-perl_2.096.bb new file +25 -0
new file mode 100644
index 000000000..27dfe01c2
@@ -0,0 +1,25 @@
+DESCRIPTION = "This module provides a Perl interface that allows writing lzma compressed \
+data to files or buffer."
+
+SECTION = "libs"
+LICENSE = "Artisticv1 | GPLv1+"
+PR = "r0"
+
+MAINTAINER=	"Poky <[email protected]>"
+HOMEPAGE=	"https://metacpan.org/release/IO-Compress-Lzma"
+
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \
+file://${COMMON_LICENSE_DIR}/GPL-1.0-only;md5=e9e36a9de734199567a4d769498f743d"
+
+SRC_URI = "https://cpan.metacpan.org/authors/id/P/PM/PMQS/IO-Compress-Lzma-2.096.tar.gz"
+
+SRC_URI[md5sum] = "6c1b70740605b8073e4fbb5ba1e7bbdb"
+SRC_URI[sha256sum] = "2f29125f19bb41d29c4b5a2467e3560b7bce5d428176a046b7c8a51609dce6e8"
+RDEPENDS_${PN} += "compress-raw-lzma-perl"
+RDEPENDS_${PN} += "io-compress-perl"
+
+S = "${WORKDIR}/IO-Compress-Lzma-${PV}"
+
+inherit cpan allarch
+
+BBCLASSEXTEND = "native"
meta-perl/recipes-perl/libio/io-compress-perl_2.096.bb new file +25 -0
new file mode 100644
index 000000000..a7c669ff4
@@ -0,0 +1,25 @@
+DESCRIPTION = "This module is not intended for direct use in application code. Its sole \
+purpose is to be sub-classed by IO::Compress modules."
+
+SECTION = "libs"
+LICENSE = "Artisticv1 | GPLv1+"
+PR = "r0"
+
+MAINTAINER=	"Poky <[email protected]>"
+HOMEPAGE=	"https://metacpan.org/release/IO-Compress"
+
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \
+file://${COMMON_LICENSE_DIR}/GPL-1.0-only;md5=e9e36a9de734199567a4d769498f743d"
+
+SRC_URI = "https://cpan.metacpan.org/authors/id/P/PM/PMQS/IO-Compress-2.096.tar.gz"
+
+SRC_URI[md5sum] = "18ad197cad5ca87bc3a7d2538998e017"
+SRC_URI[sha256sum] = "9d219fd5df4b490b5d2f847921e3cb1c3392758fa0bae9b05a8992b3620ba572"
+RDEPENDS_${PN} += "compress-raw-bzip2-perl"
+RDEPENDS_${PN} += "compress-raw-zlib-perl"
+
+S = "${WORKDIR}/IO-Compress-${PV}"
+
+inherit cpan allarch
+
+BBCLASSEXTEND = "native"
Signature · 1 line
2.33.0
#1 lore raw
Quoted 19 lines · Sakib Sajal

Add recipe for io-compress-lzma-perl and its dependencies.

---
 .../libio/compress-raw-lzma-perl_2.096.bb     | 33 +++++++++++++++++++
 .../libio/io-compress-lzma-perl_2.096.bb      | 25 ++++++++++++++
 .../libio/io-compress-perl_2.096.bb           | 25 ++++++++++++++
 3 files changed, 83 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libio/compress-raw-lzma-perl_2.096.bb
 create mode 100644 meta-perl/recipes-perl/libio/io-compress-lzma-perl_2.096.bb
 create mode 100644 meta-perl/recipes-perl/libio/io-compress-perl_2.096.bb
meta-perl/recipes-perl/libio/compress-raw-lzma-perl_2.096.bb new file +0 -0
new file mode 100644
index 000000000..431a18f0c

meta-perl/recipes-perl/libio/compress-raw-lzma-perl_2.096.bb line 6

Quoted 6 lines
meta-perl/recipes-perl/libio/compress-raw-lzma-perl_2.096.bb new file +6 -0
@@ -0,0 +1,33 @@
+DESCRIPTION = ""Compress::Raw::Lzma" provides an interface to the in-memory \
+compression/uncompression functions from the lzma compression library."
+
+SECTION = "libs"
+LICENSE = "Artisticv1 | GPLv1+"
+PR = "r0"

Drop PR

Quoted 13 lines
meta-perl/recipes-perl/libio/compress-raw-lzma-perl_2.096.bb new file +13 -0
+
+MAINTAINER=    "Poky <[email protected]>"
+HOMEPAGE=      "https://metacpan.org/release/Compress-Raw-Lzma"
+
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \
+file://${COMMON_LICENSE_DIR}/GPL-1.0-only;md5=e9e36a9de734199567a4d769498f743d"
+
+SRC_URI = "https://cpan.metacpan.org/authors/id/P/PM/PMQS/Compress-Raw-Lzma-2.096.tar.gz"
+
+SRC_URI[md5sum] = "b5079bb43712fcd1e74b80777fa376ed"
+SRC_URI[sha256sum] = "f3afb267b1303b0f125976e9e4a70c6a4a205e35e7c99b408911f5e5c6578217"
+
+DEPENDS += "xz"

meta-perl/recipes-perl/libio/compress-raw-lzma-perl_2.096.bb line 29

Quoted 10 lines
meta-perl/recipes-perl/libio/compress-raw-lzma-perl_2.096.bb new file +10 -0
+
+S = "${WORKDIR}/Compress-Raw-Lzma-${PV}"
+
+inherit cpan
+
+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')"

searching for libc-* might not work with musl C library, so either make it a bit relaxed or some other way
perhaps based on TCLIBC

Quoted 10 lines
meta-perl/recipes-perl/libio/compress-raw-lzma-perl_2.096.bb new file +4 -0
+       cpan_do_compile
+}
+
+BBCLASSEXTEND = "native"
meta-perl/recipes-perl/libio/io-compress-lzma-perl_2.096.bb new file +0 -0
new file mode 100644
index 000000000..27dfe01c2

meta-perl/recipes-perl/libio/io-compress-lzma-perl_2.096.bb line 6

Quoted 6 lines
meta-perl/recipes-perl/libio/io-compress-lzma-perl_2.096.bb new file +6 -0
@@ -0,0 +1,25 @@
+DESCRIPTION = "This module provides a Perl interface that allows writing lzma compressed \
+data to files or buffer."
+
+SECTION = "libs"
+LICENSE = "Artisticv1 | GPLv1+"
+PR = "r0"

Drop it

meta-perl/recipes-perl/libio/io-compress-lzma-perl_2.096.bb line 19

Quoted 13 lines
meta-perl/recipes-perl/libio/io-compress-lzma-perl_2.096.bb new file +13 -0
+
+MAINTAINER=    "Poky <[email protected]>"
+HOMEPAGE=      "https://metacpan.org/release/IO-Compress-Lzma"
+
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \
+file://${COMMON_LICENSE_DIR}/GPL-1.0-only;md5=e9e36a9de734199567a4d769498f743d"
+
+SRC_URI = "https://cpan.metacpan.org/authors/id/P/PM/PMQS/IO-Compress-Lzma-2.096.tar.gz"
+
+SRC_URI[md5sum] = "6c1b70740605b8073e4fbb5ba1e7bbdb"
+SRC_URI[sha256sum] = "2f29125f19bb41d29c4b5a2467e3560b7bce5d428176a046b7c8a51609dce6e8"
+RDEPENDS_${PN} += "compress-raw-lzma-perl"
+RDEPENDS_${PN} += "io-compress-perl"

the override syntax need fixing perhaps.

Quoted 12 lines
meta-perl/recipes-perl/libio/io-compress-lzma-perl_2.096.bb new file +6 -0
+
+S = "${WORKDIR}/IO-Compress-Lzma-${PV}"
+
+inherit cpan allarch
+
+BBCLASSEXTEND = "native"
meta-perl/recipes-perl/libio/io-compress-perl_2.096.bb new file +0 -0
new file mode 100644
index 000000000..a7c669ff4

meta-perl/recipes-perl/libio/io-compress-perl_2.096.bb line 6

Quoted 6 lines
meta-perl/recipes-perl/libio/io-compress-perl_2.096.bb new file +6 -0
@@ -0,0 +1,25 @@
+DESCRIPTION = "This module is not intended for direct use in application code. Its sole \
+purpose is to be sub-classed by IO::Compress modules."
+
+SECTION = "libs"
+LICENSE = "Artisticv1 | GPLv1+"
+PR = "r0"

drop

Quoted 31 lines
meta-perl/recipes-perl/libio/io-compress-perl_2.096.bb new file +19 -1
+
+MAINTAINER=    "Poky <[email protected]>"
+HOMEPAGE=      "https://metacpan.org/release/IO-Compress"
+
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \
+file://${COMMON_LICENSE_DIR}/GPL-1.0-only;md5=e9e36a9de734199567a4d769498f743d"
+
+SRC_URI = "https://cpan.metacpan.org/authors/id/P/PM/PMQS/IO-Compress-2.096.tar.gz"
+
+SRC_URI[md5sum] = "18ad197cad5ca87bc3a7d2538998e017"
+SRC_URI[sha256sum] = "9d219fd5df4b490b5d2f847921e3cb1c3392758fa0bae9b05a8992b3620ba572"
+RDEPENDS_${PN} += "compress-raw-bzip2-perl"
+RDEPENDS_${PN} += "compress-raw-zlib-perl"
+
+S = "${WORKDIR}/IO-Compress-${PV}"
+
+inherit cpan allarch
+
+BBCLASSEXTEND = "native"
--

2.33.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#94202): https://lists.openembedded.org/g/openembedded-devel/message/94202
Mute This Topic: https://lists.openembedded.org/mt/87482027/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-