Install this version:
emerge -a =app-text/hoedown-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-text/hoedown-9999
Or alternatively:
emerge --autounmask-write -a =app-text/hoedown-9999
# Copyright 2026 mva
# Distributed under the terms of the Public Domain or CC0 License
EAPI=8
inherit multilib-minimal patches
DESCRIPTION="Standards compliant, fast, secure markdown processing library in C"
HOMEPAGE="https://github.com/hoedown/hoedown"
LICENSE="MIT"
SLOT="0"
BDEPEND="dev-util/gperf"
if [[ "${PV}" == 9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/${PN}/${PN}"
else
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
src_prepare() {
sed -r \
-e "/^PREFIX/s@(=).*@\1/usr@" \
-e "/^LIBDIR/s@/lib\$@/$(get_libdir)@" \
-e "/^install/,\$s@(smartypants)@\1-hoedown@" \
-e "/^smartypants:/s@(smartypants)@\1-hoedown@" \
-e "/^all:/s@(smartypants)@\1-hoedown@" \
-i "${S}"/Makefile
patches_src_prepare
multilib_copy_sources
}