Install this version:
emerge -a =sys-fs/ncdu-c-1.18
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sys-fs/ncdu-c-1.18
Or alternatively:
emerge --autounmask-write -a =sys-fs/ncdu-c-1.18
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.18 | 8 | ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 | 0/1.18 |
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools custom-cflags
DESCRIPTION="NCurses Disk Usage"
HOMEPAGE="https://dev.yorhel.nl/ncdu"
SRC_URI="https://dev.yorhel.nl/download/ncdu-${PV}.tar.gz"
S="${WORKDIR}/ncdu-${PV}"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
DEPEND="
sys-libs/ncurses:=[unicode(+)]
"
RDEPEND="
${DEPEND}
"
src_prepare() {
default
eautoreconf
}
src_configure() {
custom-cflags_src_configure
default
}
src_install() {
exeinto /usr/bin
newexe ./ncdu ncdu-c
newman ./ncdu.1 ncdu-c.1
einstalldocs
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | ncdu-1.18.tar.gz | 159781 bytes | https://dev.yorhel.nl/download/ncdu-1.18.tar.gz |