Files
poky/meta/recipes-devtools/rust/cargo-c-native_0.9.18.bb
Frederic Martinsons ed5702223b rust: add cargo-c native recipe
This package make it easier to generate C/C++ ABI compatible
header, library and also generate package config file.

It is built around cbindgen (https://github.com/mozilla/cbindgen)
for the header generation, it compiles the library (static or dynamic)
through cargo and finally handle the generation of a custom
package config file.

(From OE-Core rev: dfce5f9ffb5240aadae311c2a2e912a315afc703)

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-08-21 16:15:35 +01:00

24 lines
563 B
BlitzBasic

SUMMARY = "cargo applet to build and install C-ABI compatible dynamic and static libraries."
HOMEPAGE = "https://crates.io/crates/cargo-c"
LICENSE = "MIT"
LIC_FILES_CHKSUM = " \
file://LICENSE;md5=384ed0e2e0b2dac094e51fbf93fdcbe0 \
"
PR = "r1"
SRC_URI = " \
git://github.com/lu-zero/cargo-c.git;branch=master;protocol=https \
file://0001-Add-Cargo.lock-file.patch \
"
SRCREV = "4eaf39ebbbc9ab8f092adf487d5b53435511d619"
S = "${WORKDIR}/git"
inherit cargo cargo-update-recipe-crates pkgconfig native
DEPENDS = "openssl curl"
require ${BPN}-crates.inc