summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-03-15 16:09:38 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-03-15 16:09:38 +0000
commit111f21a6b1ccc80a6cb767f71c6b4a3f6fba5df5 (patch)
tree5a35616eccc9fcd7b262ee694d87e977240f3773 /media-libs/libnjb
parentInstall 80-libnjb.rules to /lib/udev/rules.d instead of /etc/udev/rules.d. (diff)
downloadgentoo-2-111f21a6b1ccc80a6cb767f71c6b4a3f6fba5df5.tar.gz
gentoo-2-111f21a6b1ccc80a6cb767f71c6b4a3f6fba5df5.tar.bz2
gentoo-2-111f21a6b1ccc80a6cb767f71c6b4a3f6fba5df5.zip
USE="static-libs" and remove useless libtool archive.
(Portage version: 2.2.0_alpha26/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libnjb')
-rw-r--r--media-libs/libnjb/ChangeLog5
-rw-r--r--media-libs/libnjb/libnjb-2.2.6.ebuild12
2 files changed, 14 insertions, 3 deletions
diff --git a/media-libs/libnjb/ChangeLog b/media-libs/libnjb/ChangeLog
index b73f093935b4..0bfed0ecf10e 100644
--- a/media-libs/libnjb/ChangeLog
+++ b/media-libs/libnjb/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-libs/libnjb
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libnjb/ChangeLog,v 1.44 2011/03/15 16:06:57 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libnjb/ChangeLog,v 1.45 2011/03/15 16:09:38 ssuominen Exp $
+
+ 15 Mar 2011; Samuli Suominen <ssuominen@gentoo.org> libnjb-2.2.6.ebuild:
+ USE="static-libs" and remove useless libtool archive.
15 Mar 2011; Samuli Suominen <ssuominen@gentoo.org> libnjb-2.2.6.ebuild:
Install 80-libnjb.rules to /lib/udev/rules.d instead of /etc/udev/rules.d.
diff --git a/media-libs/libnjb/libnjb-2.2.6.ebuild b/media-libs/libnjb/libnjb-2.2.6.ebuild
index 82d8ab6fe441..3431f5246983 100644
--- a/media-libs/libnjb/libnjb-2.2.6.ebuild
+++ b/media-libs/libnjb/libnjb-2.2.6.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/media-libs/libnjb/libnjb-2.2.6.ebuild,v 1.6 2011/03/15 16:06:57 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libnjb/libnjb-2.2.6.ebuild,v 1.7 2011/03/15 16:09:38 ssuominen Exp $
EAPI=2
inherit libtool
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
-IUSE=""
+IUSE="static-libs"
RDEPEND="virtual/libusb:0"
DEPEND="${RDEPEND}"
@@ -25,6 +25,12 @@ src_prepare() {
elibtoolize
}
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ $(use_enable static-libs static)
+}
+
src_install() {
emake DESTDIR="${D}" install || die
@@ -35,4 +41,6 @@ src_install() {
insinto /usr/share/hal/fdi/information/20thirdparty
newins ${PN}.fdi 10-${PN}.fdi
+
+ find "${D}" -name '*.la' -exec rm -f {} +
}