# ChangeLog for net-im/naim
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/naim/ChangeLog,v 1.61 2006/10/14 16:33:42 tcort Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/naim/ChangeLog,v 1.62 2007/01/14 04:54:56 tester Exp $
+
+*naim-0.11.8.2.1 (14 Jan 2007)
+
+ 14 Jan 2007; Olivier Crête <tester@gentoo.org> -naim-0.11.6.1.ebuild,
+ -naim-0.11.6.4.ebuild, -naim-0.11.6.7.ebuild, -naim-0.11.7.3.1.ebuild,
+ -naim-0.11.8.1.ebuild, -naim-0.11.8.2.ebuild, +naim-0.11.8.2.1.ebuild:
+ New version of naim, cleanup old versions
14 Oct 2006; Thomas Cort <tcort@gentoo.org> naim-0.11.8.2.ebuild:
Added ~amd64 keyword wrt Bug #148258.
--- /dev/null
+MD5 0f47e1927c00ed89cbce6d77486d884a naim-0.11.8.2.1.tar.bz2 419133
+RMD160 2bdbb0a08d7b999bfc80656fa203ba1be9a3ffed naim-0.11.8.2.1.tar.bz2 419133
+SHA256 7aa6f1484add6539fe15b3449337f5305ece32a0550f3d47f02021a47abee560 naim-0.11.8.2.1.tar.bz2 419133
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/naim/naim-0.11.8.2.1.ebuild,v 1.1 2007/01/14 04:54:56 tester Exp $
+
+
+DESCRIPTION="An ncurses based AOL Instant Messenger"
+HOMEPAGE="http://naim.n.ml.org"
+SRC_URI="http://naim.googlecode.com/files/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc-macos ~sparc ~x86 ~mips"
+IUSE="debug screen"
+
+# the tests dont work
+RESTRICT=test
+
+DEPEND=">=sys-libs/ncurses-5.2
+ screen? ( 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/' \
+ libfiretalk/Makefile.am \
+ libfiretalk/Makefile.in
+}
+
+src_compile() {
+ # --enable-profile
+ local myconf=""
+
+ use debug && myconf="${myconf} --enable-debug"
+ use screen && myconf="${myconf} --enable-detach"
+
+ econf \
+ --with-pkgdocdir=/usr/share/doc/${PF} \
+ ${myconf} \
+ || die "configure failed"
+
+ # Use make instead of emake, because naim doesn't compile with ${MAKEOPTS} > 1
+ # see bug #139329
+ make || die "make failed"
+}
+
+src_install() {
+ cd ${S}
+ make DESTDIR=${D} install || die "make install failed"
+ dodoc AUTHORS FAQ BUGS README NEWS ChangeLog doc/*.hlp
+}