42 lines
827 B
Bash
42 lines
827 B
Bash
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/media-sound/pms/pms-0.42.ebuild,v 1.3 2012/05/05 08:45:46 mgorny Exp $
|
|
|
|
EAPI=2
|
|
|
|
inherit autotools
|
|
|
|
DESCRIPTION="Practical Music Search: an open source ncurses client for mpd, written in C++"
|
|
HOMEPAGE="http://pms.sourceforge.net/"
|
|
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="regex"
|
|
|
|
RDEPEND="
|
|
sys-libs/ncurses
|
|
dev-libs/glib:2
|
|
regex? ( >=dev-libs/boost-1.36 )
|
|
"
|
|
DEPEND="
|
|
virtual/pkgconfig
|
|
${RDEPEND}
|
|
"
|
|
|
|
src_prepare() {
|
|
eautoreconf
|
|
}
|
|
|
|
src_configure() {
|
|
econf \
|
|
$(use_enable regex) ||
|
|
die "configure failed"
|
|
}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}" install || die "installation failed"
|
|
|
|
dodoc AUTHORS README TODO
|
|
}
|