Bump nogo sources
[gentoo-overlay-ibormuth.git] / app-forensics / gsmartcontrol / gsmartcontrol-0.8.4.ebuild
1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 MY_P=${P/_rc/rc}
6
7 inherit eutils
8
9 DESCRIPTION="A graphical user interface for smartctl."
10 HOMEPAGE="http://gsmartcontrol.berlios.de"
11 SRC_URI="mirror://berlios/${PN}/${MY_P}.tar.bz2"
12 LICENSE="GPL-2"
13
14 IUSE=""
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86"
17
18 RDEPEND="
19         sys-apps/smartmontools
20         dev-libs/libpcre
21         >=x11-libs/gtk+-2.12
22         >=dev-cpp/gtkmm-2.12"
23 DEPEND="${DEPEND}"
24
25 S="${WORKDIR}/${MY_P}"
26
27 src_compile() {
28         econf || die "econf failed"
29         emake || die "emake failed"
30 }
31
32 src_install() {
33         emake DESTDIR="${D}" install || die "emake install failed"
34 }
35
36 pkg_postinst() {
37         ewarn "Only ATA (both PATA and SATA) disks are supported for now."
38 }