blob: 02c2f82859f87728b7e404586bf2bc34cc17f54f (
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
31
32
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/mpc/mpc-0.15.ebuild,v 1.4 2009/03/22 17:21:06 maekke 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="iconv"
DEPEND="iconv? ( virtual/libiconv )"
src_compile() {
econf --disable-dependency-tracking \
$(use_enable iconv)
emake || die "emake failed"
}
src_install() {
emake install DESTDIR="${D}" || die "emake install failed"
dodoc AUTHORS NEWS README
dodoc doc/mpd-m3u-handler.sh doc/mppledit doc/mpd-pls-handler.sh
rm -rf "${D}"/usr/share/doc/${PN}
rmdir "${D}"/usr/share/${PN}
dobashcompletion doc/mpc-bashrc
}
|