diff options
Diffstat (limited to 'meta/recipes-devtools/bindgen-cli/bindgen-cli_0.72.1.bb')
| -rw-r--r-- | meta/recipes-devtools/bindgen-cli/bindgen-cli_0.72.1.bb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-devtools/bindgen-cli/bindgen-cli_0.72.1.bb b/meta/recipes-devtools/bindgen-cli/bindgen-cli_0.72.1.bb new file mode 100644 index 0000000000..2f3ec04e82 --- /dev/null +++ b/meta/recipes-devtools/bindgen-cli/bindgen-cli_0.72.1.bb | |||
| @@ -0,0 +1,18 @@ | |||
| 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://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;tag=v${PV}" | ||
| 10 | SRCREV = "d874de8d646d9b8a3e7ba2db2bcd52f2fba8f1f5" | ||
| 11 | |||
| 12 | require ${BPN}-crates.inc | ||
| 13 | |||
| 14 | do_install:append:class-native() { | ||
| 15 | create_wrapper ${D}/${bindir}/bindgen LIBCLANG_PATH="${STAGING_LIBDIR_NATIVE}" | ||
| 16 | } | ||
| 17 | |||
| 18 | BBCLASSEXTEND = "native" | ||
