diff mbox series

[meta-darwin,3/3] add bomutils recipe

Message ID 20260128063648.1422-3-dev@qinc.tv
State New
Headers show
Series [meta-darwin,1/3] add hfsprogs recipe | expand

Commit Message

Eric L. Hernes Jan. 28, 2026, 6:36 a.m. UTC
bomutils is used to build the bill of materials files for macOS .pkg installers

Signed-off-by: Eric L. Hernes <dev@qinc.tv>
---
 recipes-support/bomutils/bomutils_git.bb | 34 ++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 recipes-support/bomutils/bomutils_git.bb

Comments

Etienne Cordonnier Jan. 31, 2026, 9:10 p.m. UTC | #1
Hi Eric,
thanks for the patch! Applied as
https://git.yoctoproject.org/meta-darwin/commit/?id=34593df0e9bd4746b02b4e2aed79088f15b3fe88

On Wed, Jan 28, 2026 at 7:37 AM Eric L. Hernes via lists.yoctoproject.org
<dev=qinc.tv@lists.yoctoproject.org> wrote:

> bomutils is used to build the bill of materials files for macOS .pkg
> installers
>
> Signed-off-by: Eric L. Hernes <dev@qinc.tv>
> ---
>  recipes-support/bomutils/bomutils_git.bb | 34 ++++++++++++++++++++++++
>  1 file changed, 34 insertions(+)
>  create mode 100644 recipes-support/bomutils/bomutils_git.bb
>
> diff --git a/recipes-support/bomutils/bomutils_git.bb
> b/recipes-support/bomutils/bomutils_git.bb
> new file mode 100644
> index 0000000..04e6dbd
> --- /dev/null
> +++ b/recipes-support/bomutils/bomutils_git.bb
> @@ -0,0 +1,34 @@
> +SUMMARY = "Bill Of Materials Utils"
> +HOMEPAGE = "https://github.com/hogliux/bomutils "
> +LICENSE = "GPL-2.0-only"
> +
> +SRCREV = "f62b59c659b1e57788661dadf87765e226824f67"
> +SRC_URI = " \
> +    git://github.com/elhernes/bomutils.git;branch=master;protocol=https \
> +"
> +
> +LIC_FILES_CHKSUM =
> "file://${WORKDIR}/git/LICENSE;md5=55d923cdeef7e46b4d6415cb173b345a"
> +
> +BBCLASSEXTEND = "native"
> +
> +S = "${WORKDIR}/git"
> +B = "${WORKDIR}/git/build"
> +
> +do_compile() {
> +    make -C ${S}
> +}
> +
> +do_install() {
> +    install -d ${D}${bindir}
> +    install -d ${D}${mandir}/man1
> +
> +    install -m 0755 ${B}/bin/ls4mkbom ${D}${bindir}
> +    install -m 0755 ${B}/bin/dumpbom ${D}${bindir}
> +    install -m 0755 ${B}/bin/lsbom ${D}${bindir}
> +    install -m 0755 ${B}/bin/mkbom ${D}${bindir}
> +
> +    install -m 0444 ${B}/man/ls4mkbom.1.gz ${D}${mandir}/man1
> +    install -m 0444 ${B}/man/dumpbom.1.gz ${D}${mandir}/man1
> +    install -m 0444 ${B}/man/lsbom.1.gz ${D}${mandir}/man1
> +    install -m 0444 ${B}/man/mkbom.1.gz ${D}${mandir}/man1
> +}
> --
> 2.50.1 (Apple Git-155)
>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#3127):
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.yoctoproject.org_g_yocto-2Dpatches_message_3127&d=DwIFAg&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=LJMeCNzx7PX_6mimmV7tx47v1nKUUHpsO1WPaxzzFUFBJ0otVGRKSliQypZjt6hw&s=XT2YhK68vYAXijX0OuBr26F6m50HAyJ32IfUzQcyoqQ&e=
> Mute This Topic:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.yoctoproject.org_mt_117504015_7048771&d=DwIFAg&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=LJMeCNzx7PX_6mimmV7tx47v1nKUUHpsO1WPaxzzFUFBJ0otVGRKSliQypZjt6hw&s=8MJuqwlOtNqUcnEyKA3uXO0Ts4cIXJbRHMZtOxeqcAg&e=
> Group Owner: yocto-patches+owner@lists.yoctoproject.org
> Unsubscribe:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.yoctoproject.org_g_yocto-2Dpatches_leave_13184993_7048771_1814342232_xyzzy&d=DwIFAg&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=LJMeCNzx7PX_6mimmV7tx47v1nKUUHpsO1WPaxzzFUFBJ0otVGRKSliQypZjt6hw&s=tcvWqZxBfxDdYsbTIzHwlAAy1O4G_DnNuDXzP5kOSig&e=
> [ecordonnier@snap.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
>
diff mbox series

Patch

diff --git a/recipes-support/bomutils/bomutils_git.bb b/recipes-support/bomutils/bomutils_git.bb
new file mode 100644
index 0000000..04e6dbd
--- /dev/null
+++ b/recipes-support/bomutils/bomutils_git.bb
@@ -0,0 +1,34 @@ 
+SUMMARY = "Bill Of Materials Utils"
+HOMEPAGE = "https://github.com/hogliux/bomutils"
+LICENSE = "GPL-2.0-only"
+
+SRCREV = "f62b59c659b1e57788661dadf87765e226824f67"
+SRC_URI = " \
+    git://github.com/elhernes/bomutils.git;branch=master;protocol=https \
+"
+
+LIC_FILES_CHKSUM = "file://${WORKDIR}/git/LICENSE;md5=55d923cdeef7e46b4d6415cb173b345a"
+
+BBCLASSEXTEND = "native"
+
+S = "${WORKDIR}/git"
+B = "${WORKDIR}/git/build"
+
+do_compile() {
+    make -C ${S}
+}
+
+do_install() {
+    install -d ${D}${bindir}
+    install -d ${D}${mandir}/man1
+
+    install -m 0755 ${B}/bin/ls4mkbom ${D}${bindir}
+    install -m 0755 ${B}/bin/dumpbom ${D}${bindir}
+    install -m 0755 ${B}/bin/lsbom ${D}${bindir}
+    install -m 0755 ${B}/bin/mkbom ${D}${bindir}
+
+    install -m 0444 ${B}/man/ls4mkbom.1.gz ${D}${mandir}/man1
+    install -m 0444 ${B}/man/dumpbom.1.gz ${D}${mandir}/man1
+    install -m 0444 ${B}/man/lsbom.1.gz ${D}${mandir}/man1
+    install -m 0444 ${B}/man/mkbom.1.gz ${D}${mandir}/man1
+}