blob: 54cd458d801fd67d04c051a675bb54c50d55cc52 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Copyright 1999-2006 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.ebuild,v 1.5 2006/10/14 16:33:42 tcort 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="~amd64 ~ppc ~sparc ~x86"
IUSE="debug screen"
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
}
|