Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libieee1284/
Date: Sat, 25 Jun 2016 21:13:19
Message-Id: 1466889188.5acd3b7460ed72b77d2757695f4c7270ce725334.mgorny@gentoo
1 commit: 5acd3b7460ed72b77d2757695f4c7270ce725334
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 25 21:12:57 2016 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 25 21:13:08 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5acd3b74
7
8 sys-libs/libieee1284: Convert to python-single-r1, EAPI 6
9
10 sys-libs/libieee1284/libieee1284-0.2.11-r4.ebuild | 49 +++++++++++++++++++++++
11 1 file changed, 49 insertions(+)
12
13 diff --git a/sys-libs/libieee1284/libieee1284-0.2.11-r4.ebuild b/sys-libs/libieee1284/libieee1284-0.2.11-r4.ebuild
14 new file mode 100644
15 index 0000000..e0bf541
16 --- /dev/null
17 +++ b/sys-libs/libieee1284/libieee1284-0.2.11-r4.ebuild
18 @@ -0,0 +1,49 @@
19 +# Copyright 1999-2016 Gentoo Foundation
20 +# Distributed under the terms of the GNU General Public License v2
21 +# $Id$
22 +
23 +EAPI="6"
24 +
25 +PYTHON_COMPAT=( python2_7 )
26 +inherit eutils python-single-r1 multilib-minimal
27 +
28 +DESCRIPTION="Library to query devices using IEEE1284"
29 +HOMEPAGE="http://cyberelk.net/tim/libieee1284/index.html"
30 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
31 +
32 +LICENSE="GPL-2"
33 +SLOT="0"
34 +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
35 +IUSE="doc python static-libs"
36 +
37 +RDEPEND="abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r9
38 + !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )
39 + python? ( ${PYTHON_DEPS} )"
40 +DEPEND="${RDEPEND}
41 + doc? (
42 + app-text/docbook-sgml-utils
43 + >=app-text/docbook-sgml-dtd-4.1
44 + app-text/docbook-dsssl-stylesheets
45 + dev-perl/XML-RegExp
46 + )"
47 +
48 +DOCS="AUTHORS NEWS README* TODO doc/interface*"
49 +
50 +pkg_setup() {
51 + use python && python-single-r1_pkg_setup
52 +}
53 +
54 +multilib_src_configure() {
55 + local myconf="--without-python"
56 + multilib_is_native_abi && myconf="$(use_with python)"
57 +
58 + ECONF_SOURCE="${S}" econf \
59 + --enable-shared \
60 + $(use_enable static-libs static) \
61 + ${myconf}
62 +}
63 +
64 +multilib_src_install_all() {
65 + prune_libtool_files --all
66 + einstalldocs
67 +}