# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/mpc/mpc-0.14.ebuild,v 1.1 2008/12/20 15:38:17 angelos Exp $ inherit bash-completion DESCRIPTION="A commandline client for Music Player Daemon (media-sound/mpd)" HOMEPAGE="http://www.musicpd.org" SRC_URI="mirror://sourceforge/musicpd/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" IUSE="nls" DEPEND="nls? ( || ( sys-libs/glibc dev-libs/libiconv ) )" src_compile() { econf --disable-dependency-tracking \ $(use_enable nls iconv) emake || die "emake failed" } src_install() { emake install DESTDIR="${D}" || die "emake install failed" dodoc AUTHORS ChangeLog README dodoc doc/m3u-handler.sh doc/mppledit doc/pls-handler.sh rm -rf "${D}"/usr/share/doc/${PN} rmdir "${D}"/usr/share/${PN} dobashcompletion doc/mpc-bashrc }