Gentoo Archives: gentoo-commits

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