637da791ff
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.
23 lines
585 B
TOML
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}"
|
|
"""
|