blob: 973af81342dac7e3e68ea4848b4ff72305ae7436 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Copyright 1999-2006 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-r1.ebuild,v 1.6 2006/02/07 21:26:21 blubb 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="nls"
KEYWORDS="amd64 hppa ppc sparc x86"
SLOT="0"
LICENSE="GPL-2"
DEPEND="virtual/libc
nls? ( || ( sys-libs/glibc dev-libs/libiconv ) )"
src_compile() {
econf --disable-dependency-tracking \
$(use_enable nls iconv) || die "econf failed"
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
}
|