Add rust/cbindgen
[oi-userland.git] / components / rust / cbindgen / Makefile
blob3abc3bce715518b3cc1ee8f8ac0fc5c88ad4b06b
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2024 Marcel Telka
16 BUILD_STYLE = cargo
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME = cbindgen
21 HUMAN_VERSION = 0.27.0
22 COMPONENT_SUMMARY = A tool for generating C bindings to Rust code.
23 COMPONENT_ARCHIVE_HASH = \
24 sha256:3fce8dd7fcfcbf3a0a87d8f515194b49d6135acab73e18bd380d1d93bb1a15eb
25 COMPONENT_FMRI = developer/rust/cbindgen
26 COMPONENT_CLASSIFICATION = Development/Other Languages
27 COMPONENT_LICENSE = MPL-2.0
28 COMPONENT_LICENSE_FILE = LICENSE
30 include $(WS_MAKE_RULES)/common.mk
32 # Auto-generated dependencies
33 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
34 REQUIRED_PACKAGES += system/library
35 REQUIRED_PACKAGES += system/library/math