From: | "Michal Gorny (mgorny)" <mgorny@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/libusb-compat: libusb-compat-0.1.5-r3.ebuild ChangeLog |
Date: | Wed, 21 May 2014 12:25:57 |
Message-Id: | 20140521122553.AA5F52004C@flycatcher.gentoo.org |
1 | mgorny 14/05/21 12:25:53 |
2 | |
3 | Modified: ChangeLog |
4 | Added: libusb-compat-0.1.5-r3.ebuild |
5 | Log: |
6 | Add libusb-config to MULTILIB_CHOST_TOOLS. |
7 | |
8 | (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!) |
9 | |
10 | Revision Changes Path |
11 | 1.51 dev-libs/libusb-compat/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libusb-compat/ChangeLog?rev=1.51&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libusb-compat/ChangeLog?rev=1.51&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libusb-compat/ChangeLog?r1=1.50&r2=1.51 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-libs/libusb-compat/ChangeLog,v |
20 | retrieving revision 1.50 |
21 | retrieving revision 1.51 |
22 | diff -u -r1.50 -r1.51 |
23 | --- ChangeLog 4 Mar 2014 12:03:32 -0000 1.50 |
24 | +++ ChangeLog 21 May 2014 12:25:53 -0000 1.51 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-libs/libusb-compat |
27 | # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb-compat/ChangeLog,v 1.50 2014/03/04 12:03:32 ssuominen Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb-compat/ChangeLog,v 1.51 2014/05/21 12:25:53 mgorny Exp $ |
30 | + |
31 | +*libusb-compat-0.1.5-r3 (21 May 2014) |
32 | + |
33 | + 21 May 2014; Michał Górny <mgorny@g.o> +libusb-compat-0.1.5-r3.ebuild: |
34 | + Add libusb-config to MULTILIB_CHOST_TOOLS. |
35 | |
36 | 04 Mar 2014; Samuli Suominen <ssuominen@g.o> |
37 | -libusb-compat-0.1.4.ebuild, -libusb-compat-0.1.5-r1.ebuild, |
38 | |
39 | |
40 | |
41 | 1.1 dev-libs/libusb-compat/libusb-compat-0.1.5-r3.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libusb-compat/libusb-compat-0.1.5-r3.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libusb-compat/libusb-compat-0.1.5-r3.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: libusb-compat-0.1.5-r3.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2014 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb-compat/libusb-compat-0.1.5-r3.ebuild,v 1.1 2014/05/21 12:25:53 mgorny Exp $ |
51 | |
52 | EAPI=5 |
53 | inherit eutils toolchain-funcs multilib-minimal |
54 | |
55 | DESCRIPTION="Userspace access to USB devices (libusb-0.1 compat wrapper)" |
56 | HOMEPAGE="http://libusb.sourceforge.net/" |
57 | SRC_URI="mirror://sourceforge/${PN/-compat}/${P}.tar.bz2" |
58 | |
59 | LICENSE="LGPL-2.1" |
60 | SLOT="0" |
61 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
62 | IUSE="debug examples static-libs" |
63 | |
64 | RDEPEND="virtual/libusb:1[${MULTILIB_USEDEP}] |
65 | !dev-libs/libusb:0 |
66 | abi_x86_32? ( |
67 | !<=app-emulation/emul-linux-x86-baselibs-20130224-r7 |
68 | !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
69 | )" |
70 | DEPEND="${RDEPEND} |
71 | virtual/pkgconfig" |
72 | |
73 | DOCS="AUTHORS ChangeLog NEWS README" |
74 | |
75 | src_prepare() { |
76 | epatch "${FILESDIR}"/${PN/-compat}-0.1-ansi.patch |
77 | } |
78 | |
79 | MULTILIB_CHOST_TOOLS=( |
80 | /usr/bin/libusb-config |
81 | ) |
82 | |
83 | multilib_src_configure() { |
84 | ECONF_SOURCE=${S} \ |
85 | econf \ |
86 | $(use_enable static-libs static) \ |
87 | $(use_enable debug debug-log) |
88 | } |
89 | |
90 | multilib_src_install() { |
91 | emake DESTDIR="${D}" install |
92 | |
93 | multilib_is_native_abi && gen_usr_ldscript -a usb |
94 | } |
95 | |
96 | multilib_src_install_all() { |
97 | prune_libtool_files |
98 | einstalldocs |
99 | |
100 | if use examples; then |
101 | insinto /usr/share/doc/${PF}/examples |
102 | doins examples/*.c |
103 | fi |
104 | } |