sys-apps/crazydiskinfo - 1.1.0-r1 (gentoo)

Search

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-r1 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
}

Dependencies

DEPEND

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

RDEPEND

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