1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/libmpdclient/libmpdclient-2.7.ebuild,v 1.8 2012/07/29 16:02:32 armin76 Exp $
6 inherit autotools git-2
8 DESCRIPTION
="A library for interfacing Music Player Daemon (media-sound/mpd)"
9 HOMEPAGE
="http://www.musicpd.org"
10 EGIT_REPO_URI
="git://git.musicpd.org/master/libmpdclient.git"
11 EGIT_BOOTSTRAP
="eautoreconf"
16 IUSE
="doc examples static-libs"
19 DEPEND
="doc? ( app-doc/doxygen )"
22 sed -e "s:@top_srcdir@:.:" -i doc
/doxygen.conf.
in
27 --docdir="${EPREFIX}"/usr
/share
/doc
/${PF} \
28 $
(use_enable static-libs static
)
33 use examples
&& dodoc src
/example.c
34 use doc ||
rm -rf "${ED}"/usr
/share
/doc
/${PF}/html
35 find "${ED}" -name "*.la" -exec rm -rf {} + || die
"failed to delete .la files"