Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libusbx: libusbx-1.0.18.ebuild ChangeLog
Date: Fri, 31 Jan 2014 16:17:21
Message-Id: 20140131161716.9E1C12004C@flycatcher.gentoo.org
1 ssuominen 14/01/31 16:17:16
2
3 Modified: ChangeLog
4 Added: libusbx-1.0.18.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
9
10 Revision Changes Path
11 1.31 dev-libs/libusbx/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libusbx/ChangeLog?rev=1.31&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libusbx/ChangeLog?rev=1.31&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libusbx/ChangeLog?r1=1.30&r2=1.31
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libusbx/ChangeLog,v
20 retrieving revision 1.30
21 retrieving revision 1.31
22 diff -u -r1.30 -r1.31
23 --- ChangeLog 15 Jan 2014 10:44:18 -0000 1.30
24 +++ ChangeLog 31 Jan 2014 16:17:16 -0000 1.31
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-libs/libusbx
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusbx/ChangeLog,v 1.30 2014/01/15 10:44:18 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusbx/ChangeLog,v 1.31 2014/01/31 16:17:16 ssuominen Exp $
30 +
31 +*libusbx-1.0.18 (31 Jan 2014)
32 +
33 + 31 Jan 2014; Samuli Suominen <ssuominen@g.o> +libusbx-1.0.18.ebuild:
34 + Version bump.
35
36 15 Jan 2014; Agostino Sarubbo <ago@g.o> libusbx-1.0.17.ebuild:
37 Stable for x86, wrt bug #488708
38
39
40
41 1.1 dev-libs/libusbx/libusbx-1.0.18.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libusbx/libusbx-1.0.18.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libusbx/libusbx-1.0.18.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libusbx-1.0.18.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/libusbx/libusbx-1.0.18.ebuild,v 1.1 2014/01/31 16:17:16 ssuominen Exp $
51
52 EAPI=5
53 inherit eutils toolchain-funcs multilib-minimal
54
55 DESCRIPTION="Userspace access to USB devices"
56 HOMEPAGE="http://libusbx.sourceforge.net/"
57 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
58
59 LICENSE="LGPL-2.1"
60 SLOT="1"
61 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 -x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
62 IUSE="debug doc examples static-libs test udev"
63
64 RDEPEND="udev? ( >=virtual/udev-200[${MULTILIB_USEDEP}] )
65 !dev-libs/libusb:1
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 doc? ( app-doc/doxygen )
72 !udev? ( virtual/os-headers )"
73
74 multilib_src_configure() {
75 ECONF_SOURCE=${S} \
76 econf \
77 $(use_enable static-libs static) \
78 $(use_enable udev) \
79 $(use_enable debug debug-log) \
80 $(use_enable test tests-build)
81 }
82
83 multilib_src_compile() {
84 emake
85
86 if multilib_is_native_abi; then
87 use doc && emake -C doc docs
88 fi
89 }
90
91 multilib_src_test() {
92 emake check
93
94 # noinst_PROGRAMS from tests/Makefile.am
95 tests/stress || die
96 }
97
98 multilib_src_install() {
99 emake DESTDIR="${D}" install
100
101 if multilib_is_native_abi; then
102 gen_usr_ldscript -a usb-1.0
103
104 use doc && dohtml doc/html/*
105 fi
106 }
107
108 multilib_src_install_all() {
109 prune_libtool_files
110
111 dodoc AUTHORS ChangeLog NEWS PORTING README TODO
112
113 if use examples; then
114 insinto /usr/share/doc/${PF}/examples
115 doins examples/*.{c,h}
116 insinto /usr/share/doc/${PF}/examples/getopt
117 doins examples/getopt/*.{c,h}
118 fi
119 }