From: Thomas Devoogdt <thomas@devoogdt.com>
To: thomas@devoogdt.com
Cc: buildroot@buildroot.org, eric.le.bihan.dev@free.fr,
fontaine.fabrice@gmail.com, guillaume.chaye@zeetim.com
Subject: [Buildroot] [PATCH v6 2/3] package/cargo-c: add new package
Date: Sun, 19 Oct 2025 08:45:02 +0200 [thread overview]
Message-ID: <20251019064503.2583945-2-thomas@devoogdt.com> (raw)
In-Reply-To: <20251019064503.2583945-1-thomas@devoogdt.com>
From: Guillaume Chaye <guillaume.chaye@zeetim.com>
Cargo-c is a cargo applet to build and install C-ABI
compatible dynamic and static libraries.
It will be required for librsvg.
Signed-off-by: Guillaume Chaye <guillaume.chaye@zeetim.com>
Signed-off-by: Thomas Devoogdt <thomas@devoogdt.com>
---
Superseeds https://patchwork.ozlabs.org/project/buildroot/patch/20250324173246.100112-2-guillaume.chaye@zeetim.com/.
v2: no change
v3: no change
v4: no change
v5: no change
v6: no change
---
DEVELOPERS | 1 +
package/cargo-c/cargo-c.hash | 3 +++
package/cargo-c/cargo-c.mk | 15 +++++++++++++++
3 files changed, 19 insertions(+)
create mode 100644 package/cargo-c/cargo-c.hash
create mode 100644 package/cargo-c/cargo-c.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index 69f22259e8..3e6efb40a9 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1366,6 +1366,7 @@ F: package/rpi-rgb-led-matrix/
N: Guillaume Chaye <guillaume.chaye@zeetim.com>
F: package/sane-airscan/
+F: package/cargo-c/
N: Guillaume William Brs <guillaume.bressaix@gmail.com>
F: package/libnids/
diff --git a/package/cargo-c/cargo-c.hash b/package/cargo-c/cargo-c.hash
new file mode 100644
index 0000000000..64353c5628
--- /dev/null
+++ b/package/cargo-c/cargo-c.hash
@@ -0,0 +1,3 @@
+# locally computed
+sha256 757034535d42b345cd7b47c9d5e3624073332437805634153a19259439491be2 cargo-c-0.10.15-cargo4.tar.gz
+sha256 d69f24ad84ec2ade64c0b68bdb31b41170e997b158370342056918329cc9af1e LICENSE
diff --git a/package/cargo-c/cargo-c.mk b/package/cargo-c/cargo-c.mk
new file mode 100644
index 0000000000..1f9e1f786b
--- /dev/null
+++ b/package/cargo-c/cargo-c.mk
@@ -0,0 +1,15 @@
+################################################################################
+#
+# cargo-c
+#
+################################################################################
+
+CARGO_C_VERSION = 0.10.15
+CARGO_C_SITE = $(call github,lu-zero,cargo-c,v$(CARGO_C_VERSION))
+CARGO_C_CARGO_LOCK_FILE = https://github.com/lu-zero/cargo-c/releases/download/v$(CARGO_C_VERSION)/Cargo.lock
+CARGO_C_LICENSE = MIT
+CARGO_C_LICENSE_FILES = LICENSE
+
+HOST_CARGO_C_DEPENDENCIES = host-libopenssl host-pkgconf
+
+$(eval $(host-cargo-package))
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2025-10-19 6:45 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-30 8:07 [Buildroot] [PATCH v5 1/3] package/pkg-cargo: add support to bundle a custom Cargo.lock file Thomas Devoogdt
2025-09-30 8:07 ` [Buildroot] [PATCH v5 2/3] package/cargo-c: add new package Thomas Devoogdt
2025-09-30 8:07 ` [Buildroot] [PATCH v5 3/3] package/librsvg: bump version to 2.61.1 Thomas Devoogdt
2025-10-11 8:56 ` [Buildroot] [PATCH v5 1/3] package/pkg-cargo: add support to bundle a custom Cargo.lock file Thomas Devoogdt
2025-10-19 6:45 ` [Buildroot] [PATCH v6 " Thomas Devoogdt
2025-10-19 6:45 ` Thomas Devoogdt [this message]
2025-10-19 6:45 ` [Buildroot] [PATCH v6] package/librsvg: bump version to 2.61.1 Thomas Devoogdt
2026-01-01 17:00 ` Thomas Petazzoni via buildroot
2026-01-03 11:20 ` Thomas Devoogdt
2026-01-01 16:36 ` [Buildroot] [PATCH v6 1/3] package/pkg-cargo: add support to bundle a custom Cargo.lock file Thomas Petazzoni via buildroot
2026-02-04 14:10 ` [Buildroot] [PATCH v7 1/2] package/pkg-cargo: add support for prevendored Cargo.lock Thomas Devoogdt
2026-02-04 14:10 ` [Buildroot] [PATCH v7 2/2] package/cargo-c: add new package Thomas Devoogdt
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=20251019064503.2583945-2-thomas@devoogdt.com \
--to=thomas@devoogdt.com \
--cc=buildroot@buildroot.org \
--cc=eric.le.bihan.dev@free.fr \
--cc=fontaine.fabrice@gmail.com \
--cc=guillaume.chaye@zeetim.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox