summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerkan Kaba <serkan@gentoo.org>2010-04-13 17:17:35 +0000
committerSerkan Kaba <serkan@gentoo.org>2010-04-13 17:17:35 +0000
commitbe13ad8414a2b617c9585e30b70790ab362bbe4c (patch)
tree2736b4fb283a96b3f4584cb621a60c9e2aa65185 /net-print
parentallow upower as devicekit-power provider and keyword ~x86-fbsd (diff)
downloadgentoo-2-be13ad8414a2b617c9585e30b70790ab362bbe4c.tar.gz
gentoo-2-be13ad8414a2b617c9585e30b70790ab362bbe4c.tar.bz2
gentoo-2-be13ad8414a2b617c9585e30b70790ab362bbe4c.zip
Revbump to fix bug #302772.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'net-print')
-rw-r--r--net-print/libinklevel/ChangeLog10
-rw-r--r--net-print/libinklevel/files/libinklevel-0.8.0-automagicdebug.patch20
-rw-r--r--net-print/libinklevel/libinklevel-0.8.0-r1.ebuild37
3 files changed, 65 insertions, 2 deletions
diff --git a/net-print/libinklevel/ChangeLog b/net-print/libinklevel/ChangeLog
index ca3c9a576af2..3831d883f6a5 100644
--- a/net-print/libinklevel/ChangeLog
+++ b/net-print/libinklevel/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-print/libinklevel
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/libinklevel/ChangeLog,v 1.20 2009/10/27 21:06:54 bangert Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/libinklevel/ChangeLog,v 1.21 2010/04/13 17:17:35 serkan Exp $
+
+*libinklevel-0.8.0-r1 (13 Apr 2010)
+
+ 13 Apr 2010; Serkan Kaba <serkan@gentoo.org> +libinklevel-0.8.0-r1.ebuild,
+ +files/libinklevel-0.8.0-automagicdebug.patch:
+ Revbump to fix bug #302772.
*libinklevel-0.8.0 (27 Oct 2009)
diff --git a/net-print/libinklevel/files/libinklevel-0.8.0-automagicdebug.patch b/net-print/libinklevel/files/libinklevel-0.8.0-automagicdebug.patch
new file mode 100644
index 000000000000..68af9e102f9d
--- /dev/null
+++ b/net-print/libinklevel/files/libinklevel-0.8.0-automagicdebug.patch
@@ -0,0 +1,20 @@
+--- configure.in 2010-03-28 22:11:26.000000000 +0300
++++ configure.in.fixed 2010-03-28 22:18:14.000000000 +0300
+@@ -16,9 +16,14 @@
+
+ ## Determine hostname & OS
+ ## AC_CANONICAL_HOST
+-
+-AC_ARG_ENABLE([debug], [ --enable-debug enable debugging output],
+- AC_DEFINE(DEBUG, 1, [enable debugging output]))
++AC_ARG_ENABLE(debug,
++ [ --enable-debug Enable debugging output if available (default=no)],
++ [ case "${enableval}" in
++ yes|"") enabled=yes; AC_DEFINE(DEBUG, 1, [enable debugging output]) ;;
++ no) ;;
++ *) ;;
++ esac],
++)
+
+ ## Check for programs
+ ## we want libtool to build our libs
diff --git a/net-print/libinklevel/libinklevel-0.8.0-r1.ebuild b/net-print/libinklevel/libinklevel-0.8.0-r1.ebuild
new file mode 100644
index 000000000000..b73890452913
--- /dev/null
+++ b/net-print/libinklevel/libinklevel-0.8.0-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/libinklevel/libinklevel-0.8.0-r1.ebuild,v 1.1 2010/04/13 17:17:35 serkan Exp $
+
+EAPI="2"
+
+inherit autotools
+
+MY_P="${P/_/}"
+DESCRIPTION="A library to get the ink level of your printer"
+HOMEPAGE="http://libinklevel.sourceforge.net/"
+SRC_URI="mirror://sourceforge/libinklevel/${MY_P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~ppc"
+LICENSE="GPL-2"
+IUSE="debug"
+
+DEPEND=">=sys-libs/libieee1284-0.2.11"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-automagicdebug.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable debug)
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog NEWS README
+ rm "${D}"/usr/lib/libinklevel.la
+}