diff options
author | Christoph Mende <angelos@gentoo.org> | 2011-07-06 17:54:28 +0000 |
---|---|---|
committer | Christoph Mende <angelos@gentoo.org> | 2011-07-06 17:54:28 +0000 |
commit | c6e2a72998b79614f08441f095444c01db5c9a25 (patch) | |
tree | a7574be37b09141f9c9c9e3c456bcbb98eca906f /media-libs/libmpdclient | |
parent | Stable on amd64 wrt bug #374001 (diff) | |
download | gentoo-2-c6e2a72998b79614f08441f095444c01db5c9a25.tar.gz gentoo-2-c6e2a72998b79614f08441f095444c01db5c9a25.tar.bz2 gentoo-2-c6e2a72998b79614f08441f095444c01db5c9a25.zip |
Bump to EAPI4, add IUSE=doc
(Portage version: 2.2.0_alpha43/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libmpdclient')
-rw-r--r-- | media-libs/libmpdclient/ChangeLog | 5 | ||||
-rw-r--r-- | media-libs/libmpdclient/libmpdclient-2.5.ebuild | 22 |
2 files changed, 18 insertions, 9 deletions
diff --git a/media-libs/libmpdclient/ChangeLog b/media-libs/libmpdclient/ChangeLog index 112452283e44..243ba6472248 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.34 2011/07/06 17:13:56 angelos Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpdclient/ChangeLog,v 1.35 2011/07/06 17:54:28 angelos Exp $ + + 06 Jul 2011; Christoph Mende <angelos@gentoo.org> libmpdclient-2.5.ebuild: + Bump to EAPI4, add IUSE=doc *libmpdclient-2.5 (06 Jul 2011) diff --git a/media-libs/libmpdclient/libmpdclient-2.5.ebuild b/media-libs/libmpdclient/libmpdclient-2.5.ebuild index 62fe2377fa47..9670bb4770ff 100644 --- a/media-libs/libmpdclient/libmpdclient-2.5.ebuild +++ b/media-libs/libmpdclient/libmpdclient-2.5.ebuild @@ -1,8 +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/libmpdclient/libmpdclient-2.5.ebuild,v 1.1 2011/07/06 17:13:56 angelos Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpdclient/libmpdclient-2.5.ebuild,v 1.2 2011/07/06 17:54:28 angelos Exp $ -EAPI=3 +EAPI=4 DESCRIPTION="A library for interfacing Music Player Daemon (media-sound/mpd)" HOMEPAGE="http://www.musicpd.org" @@ -11,7 +11,14 @@ SRC_URI="mirror://sourceforge/musicpd/${P}.tar.bz2" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" -IUSE="examples static-libs" +IUSE="doc examples static-libs" + +RDEPEND="" +DEPEND="doc? ( app-doc/doxygen )" + +src_prepare() { + sed -e "s:@top_srcdir@:.:" -i doc/doxygen.conf.in +} src_configure() { econf \ @@ -20,9 +27,8 @@ src_configure() { } src_install() { - emake install DESTDIR="${D}" || die "emake install failed" - if use examples; then - dodoc src/example.c || die "dodoc failed" - fi - find "${ED}" -name "*.la" -delete || die "failed to delete .la files" + default + use examples && dodoc src/example.c + use doc || rm -rf "${ED}"/usr/share/doc/${PF}/html + find "${ED}" -name "*.la" -exec rm -rf {} + || die "failed to delete .la files" } |