X-Git-Url: https://git.draconx.ca/gitweb/gentoo-draconx.git/blobdiff_plain/05517222961009dad661d1ffc7ad04ee50023c7c..fccbcc62415f747ae9e1bb03809e92aebead4370:/media-sound/mpc/mpc-0.15.ebuild diff --git a/media-sound/mpc/mpc-0.15.ebuild b/media-sound/mpc/mpc-0.15.ebuild new file mode 100644 index 0000000..4f5109a --- /dev/null +++ b/media-sound/mpc/mpc-0.15.ebuild @@ -0,0 +1,39 @@ +# 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.6 2009/05/17 14:41:10 armin76 Exp $ + +inherit bash-completion eutils + +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_unpack() { + unpack ${A}; + + cd "${S}" + epatch ${FILESDIR}/${P}-playid.patch +} + +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 +}