29 lines
705 B
Bash
29 lines
705 B
Bash
# Copyright 1999-2009 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/net-print/ink/ink-0.4.1.ebuild,v 1.2 2009/06/02 13:20:20 flameeyes Exp $
|
|
|
|
inherit eutils
|
|
|
|
DESCRIPTION="A command line utility to display the ink level of your printer"
|
|
SRC_URI="mirror://sourceforge/ink/${P/_}.tar.gz"
|
|
HOMEPAGE="http://ink.sourceforge.net/"
|
|
|
|
SLOT="0"
|
|
KEYWORDS="~x86 ~amd64"
|
|
LICENSE="GPL-2"
|
|
IUSE=""
|
|
|
|
DEPEND=">=net-print/libinklevel-0.7.1"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
src_unpack() {
|
|
unpack ${A}
|
|
cd "${S}"
|
|
|
|
epatch "${FILESDIR}"/${P}-asneeded.patch
|
|
}
|
|
|
|
src_install () {
|
|
emake DESTDIR="${D}"/usr install || die "emake install failed"
|
|
dodoc README || die
|
|
}
|