summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2013-08-01 12:22:09 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2013-08-01 12:22:09 +0000
commit180c6f7d84f274ae65b3c1681045232b30038a9f (patch)
tree047ed2c24beec33a5da84a1a143f2839ab73ef4f
parentRename USE="kernel_linux" to USE="udev" for eg. mdev users. (diff)
downloadgentoo-2-180c6f7d84f274ae65b3c1681045232b30038a9f.tar.gz
gentoo-2-180c6f7d84f274ae65b3c1681045232b30038a9f.tar.bz2
gentoo-2-180c6f7d84f274ae65b3c1681045232b30038a9f.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)
-rw-r--r--dev-libs/libusb-compat/ChangeLog9
-rw-r--r--dev-libs/libusb-compat/libusb-compat-0.1.5-r1.ebuild43
2 files changed, 51 insertions, 1 deletions
diff --git a/dev-libs/libusb-compat/ChangeLog b/dev-libs/libusb-compat/ChangeLog
index 65b205ee3f4c..2e809d55fd2e 100644
--- a/dev-libs/libusb-compat/ChangeLog
+++ b/dev-libs/libusb-compat/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/libusb-compat
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb-compat/ChangeLog,v 1.35 2013/07/02 07:44:37 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb-compat/ChangeLog,v 1.36 2013/08/01 12:22:09 ssuominen Exp $
+
+*libusb-compat-0.1.5-r1 (01 Aug 2013)
+
+ 01 Aug 2013; Samuli Suominen <ssuominen@gentoo.org>
+ +libusb-compat-0.1.5-r1.ebuild:
+ Move the shared library to / for hid2hci binary from net-wireless/bluez wrt
+ #478878 by Alexis Ballier
02 Jul 2013; Agostino Sarubbo <ago@gentoo.org> libusb-compat-0.1.5.ebuild:
Stable for sh, wrt bug #474168
diff --git a/dev-libs/libusb-compat/libusb-compat-0.1.5-r1.ebuild b/dev-libs/libusb-compat/libusb-compat-0.1.5-r1.ebuild
new file mode 100644
index 000000000000..0064dff6e1f3
--- /dev/null
+++ b/dev-libs/libusb-compat/libusb-compat-0.1.5-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb-compat/libusb-compat-0.1.5-r1.ebuild,v 1.1 2013/08/01 12:22:09 ssuominen Exp $
+
+EAPI=5
+inherit eutils
+
+DESCRIPTION="Userspace access to USB devices (libusb-0.1 compat wrapper)"
+HOMEPAGE="http://libusb.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN/-compat}/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+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"
+IUSE="debug static-libs"
+
+RDEPEND="virtual/libusb:1
+ !dev-libs/libusb:0"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS="AUTHORS ChangeLog NEWS README"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN/-compat}-0.1-ansi.patch
+}
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ $(use_enable debug debug-log)
+}
+
+src_install() {
+ default
+
+ gen_usr_ldscript -a usb
+
+ insinto /usr/share/doc/${PF}/examples
+ doins examples/*.c
+
+ prune_libtool_files
+}