diff options
Diffstat (limited to 'media-sound/mpc/mpc-0.27.ebuild')
-rw-r--r-- | media-sound/mpc/mpc-0.27.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/media-sound/mpc/mpc-0.27.ebuild b/media-sound/mpc/mpc-0.27.ebuild new file mode 100644 index 000000000000..b742f1ef65a2 --- /dev/null +++ b/media-sound/mpc/mpc-0.27.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit bash-completion-r1 + +DESCRIPTION="A commandline client for Music Player Daemon (media-sound/mpd)" +HOMEPAGE="http://www.musicpd.org" +SRC_URI="http://www.musicpd.org/download/${PN}/${PV%.*}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="iconv" + +RDEPEND=">=media-libs/libmpdclient-2.2 + iconv? ( virtual/libiconv )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=( AUTHORS NEWS README doc/mpd-m3u-handler.sh doc/mppledit + doc/mpd-pls-handler.sh ) + +src_configure() { + econf $(use_enable iconv) \ + --docdir="${EPREFIX}"/usr/share/doc/${PF} +} + +src_install() { + default + newbashcomp doc/mpc-completion.bash ${PN} +} |