mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-30 00:50:00 +00:00
3d731a94dc
sd is a fast, intuitive, and user-friendly alternative to sed, written in Rust. Add recipe for the latest release (1.1.0). - Uses a simple and readable search-and-replace syntax, reducing the complexity of sed commands. - Fully supports regular expressions, Unicode, and preserves line endings. - Faster, safer, and easier to use than traditional sed for common text manipulation tasks. More information: https://github.com/chmln/sd Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
28 lines
1019 B
BlitzBasic
28 lines
1019 B
BlitzBasic
SUMMARY = "sd is an intuitive and fast CLI for search and replace"
|
|
HOMEPAGE = "https://github.com/chmln/sd"
|
|
DESCRIPTION = "sd is a command-line tool written in Rust for simple and \
|
|
fast find and replace. It uses familiar regular expression \
|
|
syntax and also supports string-literal replacements \
|
|
without escaping. With clear syntax and sensible defaults, \
|
|
it offers an easy-to-use alternative to traditional tools like sed."
|
|
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = " \
|
|
file://LICENSE;md5=aec69d9265f7a44821317ebe1e576f1b \
|
|
"
|
|
|
|
SRC_URI = "git://github.com/chmln/sd.git;protocol=https;nobranch=1;tag=v${PV}"
|
|
SRCREV = "4a7b216552d64134c0fa17a59b9d557d89019f0f"
|
|
|
|
inherit cargo cargo-update-recipe-crates
|
|
|
|
# Build only the main binary ("sd"); helper binaries like "xtask"
|
|
# are dev-only and not needed, preventing extra build artifacts.
|
|
CARGO_BUILD_FLAGS += "--bin sd"
|
|
|
|
require ${BPN}-crates.inc
|
|
|
|
INSANE_SKIP:${PN} = "already-stripped"
|
|
|
|
BBCLASSEXTEND = "native"
|