blob: 6b8e2df9b013d1d37a3e6b5d3548345b88945cd0 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# 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-r1.ebuild,v 1.2 2009/01/29 22:39:51 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 taglib unicode"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="sys-libs/ncurses[unicode?]
curl? ( net-misc/curl )
taglib? ( media-libs/taglib )"
RDEPEND="$DEPEND"
src_configure() {
econf $(use_enable unicode) $(use_enable clock) \
$(use_with curl) $(use_with taglib)
}
src_install() {
emake install DESTDIR="${D}" docdir="/usr/share/doc/${PF}" \
|| die "install failed"
prepalldocs
}
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
elog "This version of ncmpcpp uses features from mpd-0.14, so"
elog "we recommend you use this with >=mpd-0.14_alpha1."
echo
elog "The color syntax has changed, see the example config file"
elog "for the new syntax."
echo
}
|