diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2013-08-01 12:32:23 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2013-08-01 12:32:23 +0000 |
commit | f429388c0018c580851ab163377883855ab134d9 (patch) | |
tree | e9964ed21d9342054acc2e70038bb47ddf635d63 /dev-libs/libusbx | |
parent | Use dev-libs/libusb-compat exclusively (instead of old libusb) for libusb-0.1... (diff) | |
download | gentoo-2-f429388c0018c580851ab163377883855ab134d9.tar.gz gentoo-2-f429388c0018c580851ab163377883855ab134d9.tar.bz2 gentoo-2-f429388c0018c580851ab163377883855ab134d9.zip |
Move the shared library to / for hid2hci binary from net-wireless/bluez wrt #478878 by Alexis Ballier
(Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'dev-libs/libusbx')
-rw-r--r-- | dev-libs/libusbx/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/libusbx/libusbx-1.0.16-r1.ebuild | 58 |
2 files changed, 65 insertions, 1 deletions
diff --git a/dev-libs/libusbx/ChangeLog b/dev-libs/libusbx/ChangeLog index 3ef66b1c20cf..5c4a57f9f5e1 100644 --- a/dev-libs/libusbx/ChangeLog +++ b/dev-libs/libusbx/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/libusbx # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusbx/ChangeLog,v 1.13 2013/07/15 08:42:02 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusbx/ChangeLog,v 1.14 2013/08/01 12:32:23 ssuominen Exp $ + +*libusbx-1.0.16-r1 (01 Aug 2013) + + 01 Aug 2013; Samuli Suominen <ssuominen@gentoo.org> +libusbx-1.0.16-r1.ebuild: + Move the shared library to / for hid2hci binary from net-wireless/bluez wrt + #478878 by Alexis Ballier *libusbx-1.0.16 (15 Jul 2013) diff --git a/dev-libs/libusbx/libusbx-1.0.16-r1.ebuild b/dev-libs/libusbx/libusbx-1.0.16-r1.ebuild new file mode 100644 index 000000000000..759c89b0d4d1 --- /dev/null +++ b/dev-libs/libusbx/libusbx-1.0.16-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusbx/libusbx-1.0.16-r1.ebuild,v 1.1 2013/08/01 12:32:22 ssuominen Exp $ + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="Userspace access to USB devices" +HOMEPAGE="http://libusbx.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="1" +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" +IUSE="debug doc examples static-libs test udev" + +RDEPEND="!dev-libs/libusb:1 + udev? ( >=virtual/udev-200 )" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +DOCS="AUTHORS ChangeLog NEWS PORTING README THANKS TODO" + +src_configure() { + econf \ + $(use_enable static-libs static) \ + $(use_enable udev) \ + $(use_enable debug debug-log) \ + $(use_enable test tests-build) +} + +src_compile() { + default + + use doc && emake -C doc docs +} + +src_test() { + default + + # noinst_PROGRAMS from tests/Makefile.am + tests/stress || die +} + +src_install() { + default + + gen_usr_ldscript -a usb-1.0 + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins examples/*.{c,h} + fi + + use doc && dohtml doc/html/* + + prune_libtool_files +} |