summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2013-07-15 08:42:02 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2013-07-15 08:42:02 +0000
commit45962dcf24cbf4f63f20ed43aaa9a939e6793b74 (patch)
treeab8e17074693808a1a1b93ab70099df9e4f6dcf1 /dev-libs/libusbx
parentVersion bump, use autotools-utils eclass. (diff)
downloadgentoo-2-45962dcf24cbf4f63f20ed43aaa9a939e6793b74.tar.gz
gentoo-2-45962dcf24cbf4f63f20ed43aaa9a939e6793b74.tar.bz2
gentoo-2-45962dcf24cbf4f63f20ed43aaa9a939e6793b74.zip
Version bump.
(Portage version: 2.2.0_alpha186/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'dev-libs/libusbx')
-rw-r--r--dev-libs/libusbx/ChangeLog7
-rw-r--r--dev-libs/libusbx/libusbx-1.0.16.ebuild56
2 files changed, 62 insertions, 1 deletions
diff --git a/dev-libs/libusbx/ChangeLog b/dev-libs/libusbx/ChangeLog
index c2da82f8b33a..3ef66b1c20cf 100644
--- a/dev-libs/libusbx/ChangeLog
+++ b/dev-libs/libusbx/ChangeLog
@@ -1,6 +1,11 @@
# 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.12 2013/06/05 02:09:56 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusbx/ChangeLog,v 1.13 2013/07/15 08:42:02 ssuominen Exp $
+
+*libusbx-1.0.16 (15 Jul 2013)
+
+ 15 Jul 2013; Samuli Suominen <ssuominen@gentoo.org> +libusbx-1.0.16.ebuild:
+ Version bump.
05 Jun 2013; Samuli Suominen <ssuominen@gentoo.org> metadata.xml:
Peter Stuge from libusb upstream is sharing ebuild maintenance by his own
diff --git a/dev-libs/libusbx/libusbx-1.0.16.ebuild b/dev-libs/libusbx/libusbx-1.0.16.ebuild
new file mode 100644
index 000000000000..9add357f15c8
--- /dev/null
+++ b/dev-libs/libusbx/libusbx-1.0.16.ebuild
@@ -0,0 +1,56 @@
+# 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.ebuild,v 1.1 2013/07/15 08:42:02 ssuominen Exp $
+
+EAPI=5
+inherit eutils
+
+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
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins examples/*.{c,h}
+ fi
+
+ use doc && dohtml doc/html/*
+
+ prune_libtool_files
+}