sys-apps/crazydiskinfo - 1.1.0 (gentoo)

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
Homepage:
https://github.com/otakuto/crazydiskinfo
License:
MIT

Ebuild Details

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

EAPI=8

inherit cmake

DESCRIPTION="Interactive TUI S.M.A.R.T viewer"
HOMEPAGE="https://github.com/otakuto/crazydiskinfo"
SRC_URI="https://github.com/otakuto/crazydiskinfo/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"

DEPEND="
	dev-libs/libatasmart:0=
	sys-libs/ncurses:0="

RDEPEND="${DEPEND}"

src_prepare() {
	sed -e "s#^set(CMAKE_CXX_FLAGS.*#set(CMAKE_CXX_FLAGS \"${CXXFLAGS} -Wall -std=c++11\")#" \
		-e "5s#^#set(CMAKE_C_FLAGS \"${CFLAGS}\")\n#" \
		-i CMakeLists.txt || die "can't patch CMakeLists.txt"

	cmake_src_prepare
}

Inherited Eclasses

Dependencies

DEPEND

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

RDEPEND

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

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/1.1.0.tar.gz