diff options
Diffstat (limited to 'media-sound/ncmpcpp/ncmpcpp-0.3.5.ebuild')
-rw-r--r-- | media-sound/ncmpcpp/ncmpcpp-0.3.5.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/media-sound/ncmpcpp/ncmpcpp-0.3.5.ebuild b/media-sound/ncmpcpp/ncmpcpp-0.3.5.ebuild new file mode 100644 index 000000000000..222cb36a05f2 --- /dev/null +++ b/media-sound/ncmpcpp/ncmpcpp-0.3.5.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/ncmpcpp/ncmpcpp-0.3.5.ebuild,v 1.1 2009/06/28 11:26:07 yngwin Exp $ + +EAPI="2" +inherit eutils + +DESCRIPTION="An ncurses mpd client, ncmpc clone with some new features, written in C++" +HOMEPAGE="http://unkart.ovh.org/ncmpcpp" +SRC_URI="http://unkart.ovh.org/${PN}/${P}.tar.bz2" +LICENSE="GPL-2" +IUSE="clock curl iconv outputs taglib +threads unicode" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="sys-libs/ncurses[unicode?] + curl? ( net-misc/curl ) + iconv? ( virtual/libiconv ) + taglib? ( media-libs/taglib )" +RDEPEND="$DEPEND" + +src_configure() { + econf $(use_enable clock) \ + $(use_enable outputs) \ + $(use_enable unicode) \ + $(use_with curl) \ + $(use_with iconv) \ + $(use_with threads) \ + $(use_with taglib) +} + +src_install() { + emake install DESTDIR="${D}" docdir="/usr/share/doc/${PF}" \ + || die "install failed" +} + +pkg_postinst() { + echo + elog "Example configuration files have been installed at" + elog "${ROOT}usr/share/doc/${PF}" + elog "${P} uses ~/.ncmpcpp/config and ~/.ncmpcpp/keys" + elog "as user configuration files." + echo +} |