Files
RedBear-OS/recipes/wip/tools/tp-note/recipe.toml
T
vasilito 637da791ff fix: rename cxx → gcc13/gcc-native (resolve package name conflict)
recipes/dev/gcc13 was claiming name='cxx' — conflicted with
local/recipes/dev/gcc-native also claiming 'cxx'. Renamed to match
directory names for unique package identification by the cookbook.
2026-07-12 19:15:26 +03:00

23 lines
585 B
TOML

[package]
name = "tp-note"
version = "0.1.0"
#TODO not compiled or tested
[source]
git = "https://gitlab.com/getreu/tp-note"
[build]
template = "custom"
script = """
package=tpnote
"${COOKBOOK_CARGO}" build \
--manifest-path "${COOKBOOK_SOURCE}/Cargo.toml" \
--package "${package}" \
--release \
--no-default-features \
--features=lang-detection,renderer
mkdir -pv "${COOKBOOK_STAGE}/usr/bin"
cp -v \
"target/${TARGET}/release/${package}" \
"${COOKBOOK_STAGE}/usr/bin/${package}"
"""