summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2011-03-20 19:25:53 +0000
committerChristoph Mende <angelos@gentoo.org>2011-03-20 19:25:53 +0000
commitf856dc44272b907d09bef4a1fb01a1b65e6ad1d9 (patch)
treed3f7bf933cc90a5960e9f4bfb608e1f7b5e39789 /media-libs
parentsparc/x86 stable wrt #359087 (diff)
downloadgentoo-2-f856dc44272b907d09bef4a1fb01a1b65e6ad1d9.tar.gz
gentoo-2-f856dc44272b907d09bef4a1fb01a1b65e6ad1d9.tar.bz2
gentoo-2-f856dc44272b907d09bef4a1fb01a1b65e6ad1d9.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')
-rw-r--r--media-libs/libmpd/ChangeLog5
-rw-r--r--media-libs/libmpd/libmpd-0.20.0-r1.ebuild16
2 files changed, 14 insertions, 7 deletions
diff --git a/media-libs/libmpd/ChangeLog b/media-libs/libmpd/ChangeLog
index a95349240157..5b9392527678 100644
--- a/media-libs/libmpd/ChangeLog
+++ b/media-libs/libmpd/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-libs/libmpd
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpd/ChangeLog,v 1.58 2011/03/19 11:01:28 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpd/ChangeLog,v 1.59 2011/03/20 19:25:53 angelos Exp $
+
+ 20 Mar 2011; Christoph Mende <angelos@gentoo.org> libmpd-0.20.0-r1.ebuild:
+ Made building of static libraries optional and removed .la files
19 Mar 2011; Christoph Mende <angelos@gentoo.org> -libmpd-0.18.0.ebuild,
-libmpd-0.19.0.ebuild, -libmpd-0.20.0.ebuild:
diff --git a/media-libs/libmpd/libmpd-0.20.0-r1.ebuild b/media-libs/libmpd/libmpd-0.20.0-r1.ebuild
index e33e9ed8d492..7d5b3f079a57 100644
--- a/media-libs/libmpd/libmpd-0.20.0-r1.ebuild
+++ b/media-libs/libmpd/libmpd-0.20.0-r1.ebuild
@@ -1,9 +1,8 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpd/libmpd-0.20.0-r1.ebuild,v 1.4 2011/02/26 12:15:13 xmw Exp $
-
-EAPI=2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpd/libmpd-0.20.0-r1.ebuild,v 1.5 2011/03/20 19:25:53 angelos Exp $
+EAPI=3
inherit eutils
DESCRIPTION="A library handling connections to a MPD server"
@@ -13,7 +12,7 @@ SRC_URI="http://download.sarine.nl/Programs/gmpc/${PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ~ppc64 x86 ~x86-interix ~amd64-linux ~x86-linux"
-IUSE=""
+IUSE="static-libs"
RDEPEND=">=dev-libs/glib-2.16:2"
DEPEND="${RDEPEND}
@@ -23,7 +22,12 @@ src_prepare() {
epatch "${FILESDIR}/${P}-overflow.patch"
}
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
src_install() {
- emake DESTDIR="${D}" install || die
- dodoc AUTHORS ChangeLog NEWS README
+ emake DESTDIR="${D}" install || die "install failed"
+ dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed"
+ find "${ED}" -name "*.la" -delete || die "failed to delete .la files"
}