summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2021-10-30 13:54:16 +0200
committerSam James <sam@gentoo.org>2021-11-01 01:01:44 +0000
commite0ebf144f1920f6b525a83a3cfff42a1f6f45e31 (patch)
tree139b854e77ea8c18f9ae20dabd55588ffdb146ff /net-print/libinklevel
parentnet-libs/libtorrent-rasterbar: enable and fix tests for 2.0.4 (diff)
downloadgentoo-e0ebf144f1920f6b525a83a3cfff42a1f6f45e31.tar.gz
gentoo-e0ebf144f1920f6b525a83a3cfff42a1f6f45e31.tar.bz2
gentoo-e0ebf144f1920f6b525a83a3cfff42a1f6f45e31.zip
net-print/libinklevel: add 0.9.3
Closes: https://bugs.gentoo.org/750173 Closes: https://bugs.gentoo.org/819270 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-print/libinklevel')
-rw-r--r--net-print/libinklevel/Manifest1
-rw-r--r--net-print/libinklevel/libinklevel-0.9.3.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/net-print/libinklevel/Manifest b/net-print/libinklevel/Manifest
index e57b5a8b883..00a0d2b2571 100644
--- a/net-print/libinklevel/Manifest
+++ b/net-print/libinklevel/Manifest
@@ -1 +1,2 @@
DIST libinklevel-0.9.2.tar.gz 367928 BLAKE2B f74af31529246668a0bc00c17b2ec1432532eb484b7efb230873e251c26b349ff26f4eb51f7f610198416964c090f60232f10e40f5170783cbe806cbcf849155 SHA512 127acaef2d2c09981b4da80e4d86a869c66f0f2f9733e139800bc944c159ddca42829499a97ecbb712b74c950bb28a4e22382c9c2a42d374bc5593f8802b6c59
+DIST libinklevel-0.9.3.tar.gz 385622 BLAKE2B c44726239d09719b634046dd40e168b6d0aefe86e675ac6669e7ffcefffbe30f9116fd2b778d7b6c9ae06d7781126202b6dcdddc50359e8905c9dab3893a6cb7 SHA512 bc45661fb861fb8fc6e209ceb4023e7eed2e474e05de76a9185e698aac7bc14d302bd254a1d95bdda104bce066d85ca27bb69d6620e17eca41b95bb279a6ad47
diff --git a/net-print/libinklevel/libinklevel-0.9.3.ebuild b/net-print/libinklevel/libinklevel-0.9.3.ebuild
new file mode 100644
index 00000000000..384eec93be7
--- /dev/null
+++ b/net-print/libinklevel/libinklevel-0.9.3.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug"
+
+DEPEND=">=sys-libs/libieee1284-0.2.11
+ virtual/libusb:1"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.9.2-autoconf-2.70.patch
+)
+
+src_prepare() {
+ default
+
+ sed -i -e "/^dist_doc_DATA/d" Makefile.am \
+ || die "Failed to disable installation of docs"
+
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable debug)
+}
+
+src_install() {
+ default
+ find "${ED}" -name '*.la' -delete || die
+}