summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2009-08-30 23:26:54 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2009-08-30 23:26:54 +0000
commit43ed2b8f61c3dc818f216bcfbe30ed82b4566c48 (patch)
treebc90c810d92de9e19b3ae328503a1da498c8a7d0 /dev-libs/libusb
parentMarking libxml2-2.7.3-r2 ppc64 for bug 280617 (diff)
downloadgentoo-2-43ed2b8f61c3dc818f216bcfbe30ed82b4566c48.tar.gz
gentoo-2-43ed2b8f61c3dc818f216bcfbe30ed82b4566c48.tar.bz2
gentoo-2-43ed2b8f61c3dc818f216bcfbe30ed82b4566c48.zip
Version bump, bug #283252.
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libusb')
-rw-r--r--dev-libs/libusb/ChangeLog7
-rw-r--r--dev-libs/libusb/libusb-1.0.3.ebuild42
2 files changed, 48 insertions, 1 deletions
diff --git a/dev-libs/libusb/ChangeLog b/dev-libs/libusb/ChangeLog
index b38abb9f5692..e9f61b0fd8bf 100644
--- a/dev-libs/libusb/ChangeLog
+++ b/dev-libs/libusb/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/libusb
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/ChangeLog,v 1.94 2009/08/27 01:07:33 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/ChangeLog,v 1.95 2009/08/30 23:26:54 robbat2 Exp $
+
+*libusb-1.0.3 (30 Aug 2009)
+
+ 30 Aug 2009; Robin H. Johnson <robbat2@gentoo.org> +libusb-1.0.3.ebuild:
+ Version bump, bug #283252.
*libusb-1.0.2 (27 Aug 2009)
diff --git a/dev-libs/libusb/libusb-1.0.3.ebuild b/dev-libs/libusb/libusb-1.0.3.ebuild
new file mode 100644
index 000000000000..616bdb930ff6
--- /dev/null
+++ b/dev-libs/libusb/libusb-1.0.3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/libusb-1.0.3.ebuild,v 1.1 2009/08/30 23:26:54 robbat2 Exp $
+
+EAPI="2"
+
+DESCRIPTION="Userspace access to USB devices"
+HOMEPAGE="http://libusb.org/"
+SRC_URI="mirror://sourceforge/libusb/${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"
+IUSE="debug doc"
+
+DEPEND="doc? ( app-doc/doxygen )"
+RDEPEND=""
+
+src_configure() {
+ econf \
+ $(use_enable debug debug-log)
+}
+
+src_compile() {
+ default
+
+ if use doc ; then
+ cd doc
+ emake docs || die "making docs failed"
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog NEWS PORTING README THANKS TODO
+
+ if use doc ; then
+ insinto /usr/share/doc/${PF}/examples
+ doins examples/*.c
+
+ dohtml doc/html/*
+ fi
+}