From: Tymoteusz Burak <tymoteusz.burak@3mdeb.com>
To: openembedded-devel@lists.openembedded.org
Cc: piotr.krol@3mdeb.com, tomasz.zyjewski@3mdeb.com
Subject: [meta-oe][PATCH v2] libfaketime: add recipe
Date: Fri, 18 Aug 2023 12:52:12 +0200 [thread overview]
Message-ID: <20230818105212.34481-1-tymoteusz.burak@3mdeb.com> (raw)
This commit adds the libfaketime library recipe, which provides time
manipulation capabilities for testing and debugging purposes. libfaketime allows
developers to modify the system time reported to applications, aiding in scenarios
where accurate time emulation is required.
GitHub Repository: https://github.com/wolfcw/libfaketime
Signed-off-by: Tymoteusz Burak <tymoteusz.burak@3mdeb.com>
---
.../libfaketime/libfaketime_0.9.10.bb | 34 +++++++++++++++++++
1 file changed, 34 insertions(+)
create mode 100644 meta-oe/recipes-test/libfaketime/libfaketime_0.9.10.bb
diff --git a/meta-oe/recipes-test/libfaketime/libfaketime_0.9.10.bb b/meta-oe/recipes-test/libfaketime/libfaketime_0.9.10.bb
new file mode 100644
index 000000000000..f26e5b0db872
--- /dev/null
+++ b/meta-oe/recipes-test/libfaketime/libfaketime_0.9.10.bb
@@ -0,0 +1,34 @@
+DESCRIPTION = "A library for faking the system time in user-space programs"
+SECTION = "libs"
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+SRCREV = "d475b925943ad404c6c728ac868dc73949e7281c"
+SRC_URI = "\
+ git://git@github.com/wolfcw/libfaketime.git;branch=master;protocol=https \
+ "
+
+S = "${WORKDIR}/git"
+
+EXTRA_OEMAKE += "\
+ EXTRA_FLAGS='-Wno-error=nonnull-compare' \
+ "
+
+do_configure[noexec] = "1"
+do_compile () {
+ oe_runmake
+}
+do_install () {
+ install -d ${D}${libdir}/faketime
+ oe_libinstall -C src libfaketime ${D}${libdir}/faketime
+ install -d ${D}${bindir}
+ install -m 0755 src/faketime ${D}${bindir}
+}
+
+PACKAGES =+ "lib${PN}"
+
+FILES:${PN} = "${bindir}/faketime"
+FILES:lib${PN} = "${libdir}/faketime/*"
+
+INSANE_SKIP:${PN} += "dev-so"
+INSANE_SKIP:lib${PN} += "dev-so"
--
2.41.0
next reply other threads:[~2023-08-18 10:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-18 10:52 Tymoteusz Burak [this message]
2023-08-19 6:38 ` [oe] [meta-oe][PATCH v2] libfaketime: add recipe Khem Raj
2023-08-30 7:33 ` Martin Jansa
2023-08-30 14:41 ` Khem Raj
2023-08-30 15:13 ` Martin Jansa
-- strict thread matches above, loose matches on Subject: below --
2023-08-18 9:16 Tymoteusz Burak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230818105212.34481-1-tymoteusz.burak@3mdeb.com \
--to=tymoteusz.burak@3mdeb.com \
--cc=openembedded-devel@lists.openembedded.org \
--cc=piotr.krol@3mdeb.com \
--cc=tomasz.zyjewski@3mdeb.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.