diff options
-rw-r--r-- | recipes-devtools/bindgen-cli/bindgen-cli_0.64.0.bb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes-devtools/bindgen-cli/bindgen-cli_0.64.0.bb b/recipes-devtools/bindgen-cli/bindgen-cli_0.64.0.bb new file mode 100644 index 0000000..6f66549 --- /dev/null +++ b/recipes-devtools/bindgen-cli/bindgen-cli_0.64.0.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | SUMMARY = "Automatically generates Rust FFI bindings to C and C++ libraries." | ||
2 | HOMEPAGE = "https://rust-lang.github.io/rust-bindgen/" | ||
3 | LICENSE = "BSD-3-Clause" | ||
4 | |||
5 | LIC_FILES_CHKSUM = "file://bindgen-cli/LICENSE;md5=0b9a98cb3dcdefcceb145324693fda9b" | ||
6 | |||
7 | inherit rust cargo cargo-update-recipe-crates | ||
8 | |||
9 | SRC_URI = "git://github.com/rust-lang/rust-bindgen.git;protocol=https;nobranch=1;branch=main" | ||
10 | SRCREV = "ae6817256ac557981906e93a1f866349db85053e" | ||
11 | |||
12 | S = "${WORKDIR}/git" | ||
13 | |||
14 | CARGO_SRC_DIR = "bindgen-cli" | ||
15 | CARGO_LOCK_SRC_DIR = "bindgen-cli" | ||
16 | |||
17 | do_install:append:class-native() { | ||
18 | create_wrapper ${D}/${bindir}/bindgen LIBCLANG_PATH="${STAGING_LIBDIR_NATIVE}" | ||
19 | } | ||
20 | |||
21 | RDEPENDS:${PN} = "libclang" | ||
22 | |||
23 | BBCLASSEXTEND = "native" | ||