diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-09-28 13:03:27 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-09-28 13:03:27 +0000 |
commit | c81c3ddc5ac7cd8d5b0620dfc8318c410f72f12c (patch) | |
tree | b733984dd3ea6dae2bb85076caf70de368708be7 /dev-libs/libusb | |
parent | Marked ~sparc64-solaris (diff) | |
download | gentoo-2-c81c3ddc5ac7cd8d5b0620dfc8318c410f72f12c.tar.gz gentoo-2-c81c3ddc5ac7cd8d5b0620dfc8318c410f72f12c.tar.bz2 gentoo-2-c81c3ddc5ac7cd8d5b0620dfc8318c410f72f12c.zip |
USE="static-libs" and remove useless libtool files.
(Portage version: 2.2.0_alpha59/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libusb')
-rw-r--r-- | dev-libs/libusb/ChangeLog | 6 | ||||
-rw-r--r-- | dev-libs/libusb/libusb-0.1.12-r7.ebuild | 7 | ||||
-rw-r--r-- | dev-libs/libusb/libusb-1.0.8.ebuild | 7 |
3 files changed, 15 insertions, 5 deletions
diff --git a/dev-libs/libusb/ChangeLog b/dev-libs/libusb/ChangeLog index ac220ee26d8a..be99b33304a9 100644 --- a/dev-libs/libusb/ChangeLog +++ b/dev-libs/libusb/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-libs/libusb # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/ChangeLog,v 1.111 2011/09/27 17:27:43 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/ChangeLog,v 1.112 2011/09/28 13:03:27 ssuominen Exp $ + + 28 Sep 2011; Samuli Suominen <ssuominen@gentoo.org> libusb-0.1.12-r7.ebuild, + libusb-1.0.8.ebuild: + USE="static-libs" and remove useless libtool files. 27 Sep 2011; Fabian Groffen <grobian@gentoo.org> libusb-0.1.12-r7.ebuild, libusb-1.0.8.ebuild: diff --git a/dev-libs/libusb/libusb-0.1.12-r7.ebuild b/dev-libs/libusb/libusb-0.1.12-r7.ebuild index 49bc3b03fc38..aef7ea632786 100644 --- a/dev-libs/libusb/libusb-0.1.12-r7.ebuild +++ b/dev-libs/libusb/libusb-0.1.12-r7.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/libusb-0.1.12-r7.ebuild,v 1.2 2011/09/27 17:27:43 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/libusb-0.1.12-r7.ebuild,v 1.3 2011/09/28 13:03:27 ssuominen Exp $ EAPI=3 @@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/libusb/${P}.tar.gz" LICENSE="LGPL-2" 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 doc nocxx" +IUSE="debug doc nocxx static-libs" RESTRICT="test" RDEPEND="!dev-libs/libusb-compat" @@ -42,6 +42,7 @@ src_prepare() { src_configure() { econf \ + $(use_enable static-libs static) \ $(use_enable debug debug all) \ $(use_enable doc build-docs) } @@ -53,4 +54,6 @@ src_install() { gen_usr_ldscript -a usb use nocxx && rm -f "${ED}"/usr/include/usbpp.h + + rm -f "${ED}"/usr/lib*/libusb*.la } diff --git a/dev-libs/libusb/libusb-1.0.8.ebuild b/dev-libs/libusb/libusb-1.0.8.ebuild index b8d0310cd406..51b4508d606a 100644 --- a/dev-libs/libusb/libusb-1.0.8.ebuild +++ b/dev-libs/libusb/libusb-1.0.8.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/libusb-1.0.8.ebuild,v 1.10 2011/09/27 17:27:43 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/libusb-1.0.8.ebuild,v 1.11 2011/09/28 13:03:27 ssuominen Exp $ EAPI="2" @@ -10,13 +10,14 @@ 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 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="debug doc" +IUSE="debug doc static-libs" DEPEND="doc? ( app-doc/doxygen )" RDEPEND="" src_configure() { econf \ + $(use_enable static-libs static) \ $(use_enable debug debug-log) } @@ -39,4 +40,6 @@ src_install() { dohtml doc/html/* fi + + rm -f "${D}"/usr/lib*/libusb*.la } |