# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils autotools DESCRIPTION="Reports on the remaining ink levels in a variety of printers." HOMEPAGE="http://www.mikegtn.net/packages/inkblot/" SRC_URI="http://www.mikegtn.net/packages/inkblot/${P}.tar.gz" SLOT="0" LICENSE="GPL-2" KEYWORDS="~x86" IUSE="" DEPEND=">=net-print/libinklevel-0.6.6_rc1 >=x11-libs/gtk+-2.2.0 >=gnome-base/gconf-2.14 >=gnome-base/libglade-2.0 >=gnome-base/libgnomeui-2.14" DOCS="README" src_unpack() { unpack ${A} cd "${S}" epatch ${FILESDIR}/${P}-libinklevel-0.6.6.patch WANT_AUTOCONF="latest" WANT_AUTOMAKE="latest" eautoreconf || die "failed running autoreconf" } src_install () { make DESTDIR="${D}" install || die dodoc ${DOCS} } pkg_postinst() { elog "You need to be in the lp group to access the drivers" }