# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-im/naim/naim-0.11.7.3.1.ebuild,v 1.3 2005/10/16 04:48:28 kumba Exp $ DESCRIPTION="An ncurses based AOL Instant Messenger" HOMEPAGE="http://naim.n.ml.org" SRC_URI="http://shell.n.ml.org/n/naim/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc-macos ~sparc ~x86 ~mips" IUSE="debug" DEPEND=">=sys-libs/ncurses-5.2 app-misc/screen" src_unpack() { unpack ${A} # Alter makefile so firetalk-int.h is installed cd ${S} sed -i 's/include_HEADERS = firetalk.h/include_HEADERS = firetalk.h firetalk-int.h/' \ firetalk/Makefile.am \ firetalk/Makefile.in } src_compile() { # --enable-profile local myconf="" use debug && myconf="${myconf} --enable-debug" econf \ --with-pkgdocdir=/usr/share/doc/${PF} \ --enable-detach \ ${myconf} \ || die "configure failed" emake || die "make failed" } src_install() { cd ${S} make DESTDIR=${D} install || die "make install failed" dodoc AUTHORS FAQ BUGS README NEWS ChangeLog doc/*.hlp }