summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-print/libinklevel/libinklevel-0.6.6_rc5.ebuild')
-rw-r--r--net-print/libinklevel/libinklevel-0.6.6_rc5.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/net-print/libinklevel/libinklevel-0.6.6_rc5.ebuild b/net-print/libinklevel/libinklevel-0.6.6_rc5.ebuild
new file mode 100644
index 000000000000..3ecfae77c6c9
--- /dev/null
+++ b/net-print/libinklevel/libinklevel-0.6.6_rc5.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/libinklevel/libinklevel-0.6.6_rc5.ebuild,v 1.1 2007/01/06 19:04:38 cryos Exp $
+
+inherit eutils multilib
+
+DESCRIPTION="A library to get the ink level of your printer"
+HOMEPAGE="http://libinklevel.sourceforge.net/"
+SRC_URI="mirror://sourceforge/libinklevel/${P/_}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~ppc"
+LICENSE="GPL-2"
+IUSE=""
+
+DEPEND="sys-libs/libieee1284"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-libdir.patch
+}
+
+src_install () {
+ emake DESTDIR=${D}/usr LIBDIR=$(get_libdir) install || \
+ die "emake install failed"
+ dodoc README
+}
+