diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2013-04-18 05:57:41 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2013-04-18 05:57:41 +0000 |
commit | 5dfc42c0a86b6555d94e76a2433a3cb44fb8ec53 (patch) | |
tree | a88a85b2e9f8e05175254a68b8f039f0ac2e1d30 /dev-libs/libusbx | |
parent | migration -> distutils-r1 (diff) | |
download | gentoo-2-5dfc42c0a86b6555d94e76a2433a3cb44fb8ec53.tar.gz gentoo-2-5dfc42c0a86b6555d94e76a2433a3cb44fb8ec53.tar.bz2 gentoo-2-5dfc42c0a86b6555d94e76a2433a3cb44fb8ec53.zip |
Version bump. Separate USE="examples" from USE="doc". Build and run the stress test with FEATURES="test".
(Portage version: 2.2.0_alpha172/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.15.ebuild | 53 |
2 files changed, 60 insertions, 1 deletions
diff --git a/dev-libs/libusbx/ChangeLog b/dev-libs/libusbx/ChangeLog index eba2f40283d1..3f98bd880e1e 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.9 2013/02/17 20:41:35 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusbx/ChangeLog,v 1.10 2013/04/18 05:57:41 ssuominen Exp $ + +*libusbx-1.0.15 (18 Apr 2013) + + 18 Apr 2013; Samuli Suominen <ssuominen@gentoo.org> +libusbx-1.0.15.ebuild: + Version bump. Separate USE="examples" from USE="doc". Build and run the + stress test with FEATURES="test". 17 Feb 2013; Zac Medico <zmedico@gentoo.org> libusbx-1.0.14.ebuild: Add ~arm-linux keyword. diff --git a/dev-libs/libusbx/libusbx-1.0.15.ebuild b/dev-libs/libusbx/libusbx-1.0.15.ebuild new file mode 100644 index 000000000000..37304e411341 --- /dev/null +++ b/dev-libs/libusbx/libusbx-1.0.15.ebuild @@ -0,0 +1,53 @@ +# 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.15.ebuild,v 1.1 2013/04/18 05:57:41 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" + +RDEPEND="!dev-libs/libusb:1" +DEPEND="doc? ( app-doc/doxygen )" + +DOCS="AUTHORS ChangeLog NEWS PORTING README THANKS TODO" + +src_configure() { + econf \ + $(use_enable static-libs static) \ + $(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 +} |