# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/mpc/mpc-0.11.2.ebuild,v 1.2 2005/05/01 18:05:42 hansmi Exp $ inherit bash-completion DESCRIPTION="A commandline client for Music Player Daemon (media-sound/mpd)" SRC_URI="mirror://sourceforge/musicpd/${P}.tar.gz http://mercury.chem.pitt.edu/~shank/${P}.tar.gz" HOMEPAGE="http://www.musicpd.org" IUSE="" KEYWORDS="x86 ppc sparc amd64" SLOT="0" LICENSE="GPL-2" DEPEND="virtual/libc" src_compile() { local myconf myconf="--with-gnu-ld" econf ${myconf} || die "could not configure" emake || die "emake failed" } src_install() { emake install DESTDIR="${D}" || die mv ${D}/usr/share/doc/mpc/ ${D}/usr/share/doc/${PF} dobashcompletion doc/mpc-bashrc }