# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-misc/abook/abook-0.5.6.ebuild,v 1.8 2007/07/21 21:08:54 grobian Exp $ inherit eutils cvs DESCRIPTION="Abook is a text-based addressbook program designed to use with mutt mail client." HOMEPAGE="http://abook.sourceforge.net/" ECVS_SERVER="abook.cvs.sourceforge.net:/cvsroot/abook" ECVS_MODULE="abook" ECVS_AUTH="pserver" ECVS_USER="anonymous" ECVS_PASS="" LICENSE="GPL-2" SLOT="0" KEYWORDS="" IUSE="nls vcard" RDEPEND="nls? ( virtual/libintl )" DEPEND="nls? ( sys-devel/gettext )" src_unpack() { cvs_src_unpack cd ${PN} if use vcard; then epatch ${FILESDIR}/${PN}_vcard_import-20080603.patch fi } src_compile() { cd ${PN} econf $(use_enable nls) || die "configure failed" emake || die "make failed" } src_install() { cd ${PN} make DESTDIR="${D}" install || die "install failed" dodoc BUGS ChangeLog FAQ README TODO \ sample.abookrc || die "dodoc failed" }