scmpc: Sync with gentoo-x86
[mpd.git] / media-sound / mpc / mpc-9999.ebuild
blobc38e8b24bb7afa3099b459760118c3d2c3d605e3
1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
5 EAPI=4
6 inherit autotools bash-completion-r1 git-2
8 DESCRIPTION="A commandline client for Music Player Daemon (media-sound/mpd)"
9 HOMEPAGE="http://www.musicpd.org"
10 EGIT_REPO_URI="git://git.musicpd.org/master/mpc.git"
11 EGIT_BOOTSTRAP="eautoreconf"
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS=""
16 IUSE="iconv"
18 RDEPEND="~media-libs/libmpdclient-9999
19 iconv? ( virtual/libiconv )"
20 DEPEND="${RDEPEND}
21 virtual/pkgconfig"
23 DOCS=( AUTHORS NEWS README doc/mpd-m3u-handler.sh doc/mppledit
24 doc/mpd-pls-handler.sh )
26 src_configure() {
27 econf $(use_enable iconv) \
28 --docdir="${EPREFIX}"/usr/share/doc/${PF}
31 src_install() {
32 default
33 newbashcomp doc/mpc-completion.bash ${PN}