summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2011-03-20 19:33:12 +0000
committerChristoph Mende <angelos@gentoo.org>2011-03-20 19:33:12 +0000
commit316e477f39feb350772560b4340faadc7b4380c1 (patch)
tree4a792d1ab727a6a954957ecf45b83c283f6d460d /media-libs/libmpdclient
parentMade building of static libraries optional and removed .la files (diff)
downloadgentoo-2-316e477f39feb350772560b4340faadc7b4380c1.tar.gz
gentoo-2-316e477f39feb350772560b4340faadc7b4380c1.tar.bz2
gentoo-2-316e477f39feb350772560b4340faadc7b4380c1.zip
Made building of static libraries optional and removed .la files
(Portage version: 2.2.0_alpha28/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libmpdclient')
-rw-r--r--media-libs/libmpdclient/ChangeLog5
-rw-r--r--media-libs/libmpdclient/libmpdclient-2.4.ebuild17
2 files changed, 16 insertions, 6 deletions
diff --git a/media-libs/libmpdclient/ChangeLog b/media-libs/libmpdclient/ChangeLog
index cc5bd79b6182..28b5be4f3828 100644
--- a/media-libs/libmpdclient/ChangeLog
+++ b/media-libs/libmpdclient/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-libs/libmpdclient
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpdclient/ChangeLog,v 1.29 2011/03/01 14:52:05 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpdclient/ChangeLog,v 1.30 2011/03/20 19:33:12 angelos Exp $
+
+ 20 Mar 2011; Christoph Mende <angelos@gentoo.org> libmpdclient-2.4.ebuild:
+ Made building of static libraries optional and removed .la files
01 Mar 2011; Jeroen Roovers <jer@gentoo.org> libmpdclient-2.4.ebuild:
Stable for HPPA (bug #356527).
diff --git a/media-libs/libmpdclient/libmpdclient-2.4.ebuild b/media-libs/libmpdclient/libmpdclient-2.4.ebuild
index 6a84b46cdece..4e603114ae52 100644
--- a/media-libs/libmpdclient/libmpdclient-2.4.ebuild
+++ b/media-libs/libmpdclient/libmpdclient-2.4.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/libmpdclient/libmpdclient-2.4.ebuild,v 1.5 2011/03/01 14:52:05 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpdclient/libmpdclient-2.4.ebuild,v 1.6 2011/03/20 19:33:12 angelos Exp $
EAPI=3
@@ -11,11 +11,18 @@ SRC_URI="mirror://sourceforge/musicpd/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm hppa ppc ~ppc64 sparc ~x86"
-IUSE="examples"
+IUSE="examples static-libs"
+
+src_configure() {
+ econf \
+ --docdir="${EPREFIX}"/usr/share/doc/${PF} \
+ $(use_enable static-libs static)
+}
src_install() {
emake install DESTDIR="${D}" || die "emake install failed"
- rm -rf "${D}"/usr/share/doc/${PN}
- dodoc AUTHORS NEWS README
- use examples && dodoc src/example.c
+ if use examples; then
+ dodoc src/example.c || die "dodoc failed"
+ fi
+ find "${ED}" -name "*.la" -delete || die "failed to delete .la files"
}