From f2f949d8d70bdfc718058c7cd628a4b8604c34ef Mon Sep 17 00:00:00 2001 From: Bendeguz Pisch Date: Sat, 25 Jul 2026 18:54:08 +0000 Subject: [PATCH] Add dos2unix recipe --- recipes/tools/dos2unix/recipe.toml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 recipes/tools/dos2unix/recipe.toml diff --git a/recipes/tools/dos2unix/recipe.toml b/recipes/tools/dos2unix/recipe.toml new file mode 100755 index 000000000..052a6d85a --- /dev/null +++ b/recipes/tools/dos2unix/recipe.toml @@ -0,0 +1,19 @@ +[source] +tar = "https://waterlander.net/dos2unix/files/dos2unix-7.5.6.tar.gz" +blake3 = "1c12a3c6e9f2d0da41534411d4e71a6d107cba968321244be3718f3a705932b1" + +[build] +template = "custom" +dependencies = ["gettext"] +script = """ +DYNAMIC_INIT +rsync -av --delete "${COOKBOOK_SOURCE}/" "${COOKBOOK_BUILD}/" + +make AR="${AR}" \ + CC="${CC}" \ + RANLIB="${RANLIB}" \ + LDFLAGS="${LDFLAGS} -lintl" \ + prefix="${COOKBOOK_STAGE}" install + +""" +