Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

69.4. smu-1.5

Markdown to HTML in one C file

1.5-1 · MIT · 0.1 SBU · 26.4 KiB, 3 files · 40_lang, 39 of 186 · ports/core/doctools/smu

Homepage: https://github.com/Gottox/smu

Why it is in KDOS. The comment above it in script/phases/40_lang/packages.d/doctools.txt:

MARKDOWN OUT, AND NOT MARKDOWN DRAWN. glow renders a document into a terminal; this writes the HTML, which is what w3m reads and what a page published anywhere needs. One C file.

Depends on: nothing a recipe names.

Required by: no port names it.

Sources: smu-1.5.tar.gz (8.4 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/40_lang/phase.env && kpkg install smu'

build.sh:

make PREFIX=/usr CFLAGS="$CFLAGS -Wall -Werror -ansi -I. -DVERSION=\"$version\"" \
	LDFLAGS="$LDFLAGS"
make DESTDIR=$PKG PREFIX=/usr install

Programs: smu.

Directories: /usr/share/licenses/smu.