/[gentoo-x86]/media-sound/ncmpcpp/ncmpcpp-0.2.3.ebuild
Gentoo

Contents of /media-sound/ncmpcpp/ncmpcpp-0.2.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Jan 7 21:32:59 2009 UTC (10 years, 10 months ago) by gentoofan23
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
stable amd64, remove old
(Portage version: 2.1.6.1/cvs/Linux 2.6.25.9 x86_64)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/ncmpcpp/ncmpcpp-0.2.3.ebuild,v 1.1 2008/09/23 22:23:50 yngwin Exp $
4
5 inherit eutils
6
7 DESCRIPTION="An ncurses mpd client, ncmpc clone with some new features, written in C++"
8 HOMEPAGE="http://unkart.ovh.org/ncmpcpp"
9 SRC_URI="http://unkart.ovh.org/${PN}/${P}.tar.bz2"
10 LICENSE="GPL-2"
11 IUSE="curl taglib unicode"
12 SLOT="0"
13 KEYWORDS="~amd64 ~x86"
14
15 DEPEND="sys-libs/ncurses
16 curl? ( net-misc/curl )
17 taglib? ( media-libs/taglib )"
18 RDEPEND="${DEPEND}"
19
20 pkg_setup() {
21 if ! built_with_use sys-libs/ncurses unicode && use unicode ; then
22 eerror "Please recompile sys-libs/ncurses with the unicode useflag"
23 die
24 fi
25 }
26
27 src_compile() {
28 econf $(use_enable unicode) $(use_with curl) $(use_with taglib) \
29 || die "configure failed"
30 emake || die "make failed"
31 }
32
33 src_install() {
34 make install DESTDIR="${D}" docdir="${ROOT}/usr/share/doc/${PF}" \
35 || die "install failed"
36 prepalldocs
37 }
38
39 pkg_postinst() {
40 echo
41 elog "Example configuration files have been installed at"
42 elog "${ROOT}usr/share/doc/${PF}"
43 echo
44 }

  ViewVC Help
Powered by ViewVC 1.1.20