minigzip is a minimal implementation of the gzip utility that simulates gzip using the zlib compression library.
Having a package with minigzip could be useful in some cases. Signed-off-by: Sergio Prado <[email protected]> --- meta/recipes-core/zlib/zlib_1.2.11.bb | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/zlib/zlib_1.2.11.bb b/meta/recipes-core/zlib/zlib_1.2.11.bb index ef9431ae475c..3ecb90de2b5f 100644 --- a/meta/recipes-core/zlib/zlib_1.2.11.bb +++ b/meta/recipes-core/zlib/zlib_1.2.11.bb @@ -19,6 +19,14 @@ CFLAGS += "-D_REENTRANT" RDEPENDS_${PN}-ptest += "make" +PACKAGES =+ "${PN}-minigzip" + +FILES_${PN}-minigzip += "\ + ${sbindir}/minigzip \ + ${sbindir}/minigzipsh \ + ${sbindir}/minigzip64 \ + " + inherit ptest do_configure() { @@ -26,11 +34,16 @@ do_configure() { } do_compile() { - oe_runmake shared + oe_runmake shared minigzip minigzip64 } do_install() { oe_runmake DESTDIR=${D} install + + install -d ${D}${sbindir} + install -m 0755 ${B}/minigzip ${D}${sbindir} + install -m 0755 ${B}/minigzipsh ${D}${sbindir} + install -m 0755 ${B}/minigzip64 ${D}${sbindir} } do_install_ptest() { -- 2.17.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#139461): https://lists.openembedded.org/g/openembedded-core/message/139461 Mute This Topic: https://lists.openembedded.org/mt/74847703/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
