# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit multilib DESCRIPTION="gkrell plugin for hdaps enabled notebooks" HOMEPAGE="http://hdaps.sourceforge.net" SRC_URI="http://switch.dl.sourceforge.net/sourceforge/hdaps/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=app-admin/gkrellm-2*" RDEPEND="" S=${WORKDIR}/${PN}/src src_compile() { emake || die "make failed" } src_install() { exeinto /usr/$(get_libdir)/gkrellm2/plugins doexe gkhdaps_pivot.so doexe gkhdaps_temp.so dodoc CHANGES COPYING INSTALL README VERSION } pkg_postinst() { echo ewarn "this application can only work on a thinkpad with" ewarn "a movement sensor and the hdaps module loaded" ewarn "see also: http://thinkwiki.org/wiki/HDAPS" echo }