Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libieee1284/
Date: Tue, 01 Sep 2020 10:43:49
Message-Id: 1598957014.8896e2863060b4d0c59a9160beeed6b7a3baece8.whissi@gentoo
1 commit: 8896e2863060b4d0c59a9160beeed6b7a3baece8
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 1 10:24:35 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 1 10:43:34 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8896e286
7
8 sys-libs/libieee1284: new rev bump
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 sys-libs/libieee1284/libieee1284-0.2.11-r7.ebuild | 48 +++++++++++++++++++++++
14 1 file changed, 48 insertions(+)
15
16 diff --git a/sys-libs/libieee1284/libieee1284-0.2.11-r7.ebuild b/sys-libs/libieee1284/libieee1284-0.2.11-r7.ebuild
17 new file mode 100644
18 index 00000000000..9cb0704f1c1
19 --- /dev/null
20 +++ b/sys-libs/libieee1284/libieee1284-0.2.11-r7.ebuild
21 @@ -0,0 +1,48 @@
22 +# Copyright 1999-2020 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI="6"
26 +
27 +PYTHON_COMPAT=( python2_7 )
28 +
29 +inherit python-single-r1 multilib-minimal
30 +
31 +DESCRIPTION="Library to query devices using IEEE1284"
32 +HOMEPAGE="http://cyberelk.net/tim/software/libieee1284/"
33 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
34 +
35 +LICENSE="GPL-2"
36 +SLOT="0"
37 +KEYWORDS="amd64 ppc x86"
38 +IUSE="doc python static-libs"
39 +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
40 +
41 +RDEPEND="
42 + python? ( ${PYTHON_DEPS} )"
43 +DEPEND="${RDEPEND}
44 + doc? (
45 + app-text/docbook-sgml-utils
46 + >=app-text/docbook-sgml-dtd-4.1
47 + app-text/docbook-dsssl-stylesheets
48 + dev-perl/XML-RegExp
49 + )"
50 +
51 +pkg_setup() {
52 + use python && python-single-r1_pkg_setup
53 +}
54 +
55 +multilib_src_configure() {
56 + ECONF_SOURCE="${S}" econf \
57 + --enable-shared \
58 + $(use_enable static-libs static) \
59 + $(multilib_native_use_with python)
60 +}
61 +
62 +multilib_src_install_all() {
63 + einstalldocs
64 + dodoc doc/interface*
65 +
66 + if ! use static-libs; then
67 + find "${D}" -name '*.la' -delete || die
68 + fi
69 +}