diff options
| author | Arslaan Pathan <[email protected]> | 2026-09-01 22:18:31 +1200 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2026-09-01 22:18:31 +1200 |
| commit | 73e5558c9a7ec3c804fe4ba0093a68b563f3572a (patch) | |
| tree | 67d4c4bb97258d648ca11024a6761db3c5d4f913 /meta-yerba/recipes-core/libxo/libxo_1.7.5.bb | |
| parent | b1f758fdf6dd1f95af0ef6dc901bd35bc0c3c212 (diff) | |
| download | yerbalinux-73e5558c9a7ec3c804fe4ba0093a68b563f3572a.tar.xz yerbalinux-73e5558c9a7ec3c804fe4ba0093a68b563f3572a.zip | |
Migrate to chimerautils from GNU coreutils/busybox
Diffstat (limited to 'meta-yerba/recipes-core/libxo/libxo_1.7.5.bb')
| -rw-r--r-- | meta-yerba/recipes-core/libxo/libxo_1.7.5.bb | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/meta-yerba/recipes-core/libxo/libxo_1.7.5.bb b/meta-yerba/recipes-core/libxo/libxo_1.7.5.bb new file mode 100644 index 0000000..72a1f51 --- /dev/null +++ b/meta-yerba/recipes-core/libxo/libxo_1.7.5.bb @@ -0,0 +1,73 @@ +SUMMARY = "libxo - Library for programs to output XML, JSON and HTML" +DESCRIPTION = "Library for programs to output XML, JSON and HTML" +HOMEPAGE = "https://github.com/Juniper/libxo" +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d38b267964c4d7712bb316e31cceb0a2" + +SRC_URI="git://github.com/Juniper/libxo;protocol=https;branch=main" +SRCREV="fd5db1b4fba49e1f4c35d6c466710c0e89f54043" +S = "${WORKDIR}/git" + +DEPENDS = "libtool-native" + +inherit autotools pkgconfig + +EXTRA_OECONF = "" + +do_configure:prepend() { + if [ -f ${S}/configure ]; then + sed -i 's|/usr/include||g' ${S}/configure + sed -i 's|/usr/lib||g' ${S}/configure + sed -i 's|/usr/local||g' ${S}/configure + fi +} + +INSANE_SKIP:${PN} = "configure-unsafe unknown-configure-option ldflags dev-so staticdev buildpaths" +INSANE_SKIP:${PN}-dev = "configure-unsafe unknown-configure-option ldflags" +INSANE_SKIP:${PN}-staticdev = "configure-unsafe unknown-configure-option ldflags" + +EXTRA_OECONF += "--disable-gettext" + +LDFLAGS += "-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed" + +do_install:append() { + if [ -f ${D}${bindir}/libxo-config ]; then + sed -i 's|${TMPDIR}||g' ${D}${bindir}/libxo-config + sed -i 's|${WORKDIR}||g' ${D}${bindir}/libxo-config + sed -i 's|${D}||g' ${D}${bindir}/libxo-config + fi +} + +FILES:${PN} = " \ + ${libdir}/libxo/encoder/libenc_cbor.so.0.0.0 \ + ${libdir}/libxo/encoder/libenc_cbor.so.0 \ + ${libdir}/libxo/encoder/libenc_cbor.so \ + ${libdir}/libxo/encoder/libenc_cbor.a \ + ${libdir}/libxo/encoder/cbor.enc \ + ${libdir}/libxo/encoder/libenc_csv.so.0.0.0 \ + ${libdir}/libxo/encoder/libenc_csv.so.0 \ + ${libdir}/libxo/encoder/libenc_csv.so \ + ${libdir}/libxo/encoder/libenc_csv.a \ + ${libdir}/libxo/encoder/csv.enc \ + ${libdir}/libxo/encoder/libenc_test.so.0.0.0 \ + ${libdir}/libxo/encoder/libenc_test.so.0 \ + ${libdir}/libxo/encoder/libenc_test.so \ + ${libdir}/libxo/encoder/libenc_test.a \ + ${libdir}/libxo/encoder/test.enc \ + ${libdir}/libxo.so.0.0.0 \ + ${libdir}/libxo.so.0 \ + ${datadir}/libxo \ + ${datadir}/libxo/xohtml.js \ + ${datadir}/libxo/xohtml.css \ + ${datadir}/libxo/external \ + ${datadir}/libxo/external/jquery.js \ + ${datadir}/libxo/external/jquery.qtip.css \ + ${datadir}/libxo/external/jquery.qtip.js \ + ${bindir}/xo \ + ${bindir}/xopo \ + ${bindir}/xolint \ + ${bindir}/xohtml \ + ${bindir}/libxo-config \ +" + +BBCLASSEXTEND = "native" |
