sys-apps/crazydiskinfo - 1.1.0 (myov)

Search

Install

Install this version:

emerge -a =sys-apps/crazydiskinfo-1.1.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sys-apps/crazydiskinfo-1.1.0

Or alternatively:

emerge --autounmask-write -a =sys-apps/crazydiskinfo-1.1.0

Package Information

Description:
Interactive TUI S.M.A.R.T viewer for Unix systems
Homepage:
https://github.com/otakuto/crazydiskinfo/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
1.1.0 8 ~amd64 ~arm ~arm64 ~mips ~ppc64 ~riscv ~x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake custom-cflags flag-o-matic

DESCRIPTION="Interactive TUI S.M.A.R.T viewer for Unix systems"
HOMEPAGE="https://github.com/otakuto/crazydiskinfo/"

if [[ "${PV}" == *9999* ]] ; then
	inherit git-r3

	EGIT_REPO_URI="https://github.com/otakuto/${PN}/.git"
else
	SRC_URI="https://github.com/otakuto/${PN}/archive/refs/tags/${PV}.tar.gz
		-> ${P}.tar.gz"

	KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc64 ~riscv ~x86"
fi

LICENSE="MIT"
SLOT="0"

RDEPEND="
	dev-libs/libatasmart:=
	sys-libs/ncurses:=
"
DEPEND="
	${RDEPEND}
"

src_prepare() {
	cmake_src_prepare

	sed -i -e "s|set.*||g" ./CMakeLists.txt || die
}

src_configure() {
	custom-cflags_src_configure
	append-cxxflags -std=c++11 -Wall -Wextra

	cmake_src_configure
}

src_install() {
	exeinto /usr/bin
	newexe "${BUILD_DIR}/crazy" "${PN}"

	einstalldocs
}

Inherited Eclasses

Dependencies

DEPEND

	
	dev-libs/libatasmart:=
	sys-libs/ncurses:=

RDEPEND

	dev-libs/libatasmart:=
	sys-libs/ncurses:=

Manifest for 1.1.0

Type File Size Source URLs
DIST crazydiskinfo-1.1.0.tar.gz 5372 bytes https://github.com/otakuto/crazydiskinfo/archive/refs/tags/1.1.0.tar.gz