1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit flag-o-matic gnome2-utils
7 DESCRIPTION="Hard disk drive health inspection tool"
8 HOMEPAGE="https://gsmartcontrol.sourceforge.io/"
9 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
11 LICENSE="|| ( GPL-2 GPL-3 ) Boost-1.0 BSD Unlicense ZLIB"
13 KEYWORDS="~amd64 ~x86"
19 sys-apps/smartmontools
21 RDEPEND="${COMMON_DEPEND}
24 DEPEND="${COMMON_DEPEND}
26 test? ( dev-util/gtk-builder-convert )
29 DOCS="TODO" # See 'dist_doc_DATA' value in Makefile.am
33 append-cxxflags -std=c++11
37 econf $(use test tests)
42 rm -f "${ED}"/usr/share/doc/${PF}/LICENSE_* || die
45 pkg_preinst() { gnome2_icon_savelist; }
46 pkg_postinst() { gnome2_icon_cache_update; }
47 pkg_postrm() { gnome2_icon_cache_update; }