/[gentoo-x86]/net-print/libinklevel/libinklevel-0.8.0-r1.ebuild
Gentoo

Contents of /net-print/libinklevel/libinklevel-0.8.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Mon May 21 19:19:29 2012 UTC (2 years, 1 month ago) by xarthisius
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +3 -3 lines
Add missing inheritance of eutils.eclass

(Portage version: 2.2.0_alpha104/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-print/libinklevel/libinklevel-0.8.0-r1.ebuild,v 1.4 2010/08/01 20:23:04 phajdan.jr Exp $
4
5 EAPI="2"
6
7 inherit autotools eutils
8
9 MY_P="${P/_/}"
10 DESCRIPTION="A library to get the ink level of your printer"
11 HOMEPAGE="http://libinklevel.sourceforge.net/"
12 SRC_URI="mirror://sourceforge/libinklevel/${MY_P}.tar.gz"
13
14 SLOT="0"
15 KEYWORDS="amd64 ~ppc x86"
16 LICENSE="GPL-2"
17 IUSE="debug"
18
19 DEPEND=">=sys-libs/libieee1284-0.2.11"
20 RDEPEND="${DEPEND}"
21
22 S="${WORKDIR}/${MY_P}"
23
24 src_prepare() {
25 epatch "${FILESDIR}"/${P}-automagicdebug.patch
26 sed -i -e "/^dist_doc_DATA/d" Makefile.am \
27 || die "Failed to disable installation of docs"
28 eautoreconf
29 }
30
31 src_configure() {
32 econf $(use_enable debug)
33 }
34
35 src_install () {
36 emake DESTDIR="${D}" install || die "emake install failed"
37 dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed"
38 rm "${D}"/usr/lib/libinklevel.la
39 }

  ViewVC Help
Powered by ViewVC 1.1.20