# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=1 DESCRIPTION="Visualization of the Hard Disc Active Protection System State as Gnome applet" HOMEPAGE="http://www.zen24593.zen.co.uk/hdaps/" SRC_URI="http://www.zen24593.zen.co.uk/hdaps/gnome-hdaps-applet-20081204.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" RDEPEND="app-laptop/hdapsd gnome-base/gnome-panel x11-libs/gtk+:2" DEPEND="${RDEPEND} dev-util/pkgconfig sys-devel/gcc" src_compile() { gcc -Wall \ $(pkg-config --cflags --libs libpanelapplet-2.0) \ $(pkg-config --cflags --libs gtk+-2.0) \ -o gnome-hdaps-applet gnome-hdaps-applet.c || die } src_install() { exeinto /usr/bin doexe gnome-hdaps-applet || die insinto /usr/share/pixmaps/gnome-hdaps-applet doins hdaps-{error,running,paused}-small.png hdaps-paused.png || die insinto /usr/lib/bonobo/servers doins GNOME_HDAPS_StatusApplet.server || die }