1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 inherit eutils multilib toolchain-funcs
11 DESCRIPTION="Intelligent Battery Monitor"
12 HOMEPAGE="http://ibam.sourceforge.net/"
13 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
14 mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV}-${PATCH_LEVEL}.diff.gz"
18 KEYWORDS="~amd64 ~x86"
29 gkrellm? ( virtual/pkgconfig )"
33 "${FILESDIR}"/${P}-build.patch \
34 "${WORKDIR}"/${PN}_${PV}-${PATCH_LEVEL}.diff
37 for f in `find . -name '*.dpatch'`; do
45 use gkrellm && emake krell
50 dodoc CHANGES README REPORT
53 insinto /usr/$(get_libdir)/gkrellm2/plugins
60 elog "You will need to install sci-visualization/gnuplot if you wish to use"
61 elog "the --plot argument to ibam."