/[gentoo-x86]/net-im/naim/naim-0.11.8.2.1.ebuild
Gentoo

Contents of /net-im/naim/naim-0.11.8.2.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Wed Sep 23 08:32:57 2009 UTC (8 years, 7 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
old, qa
(Portage version: 2.2_rc41/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-im/naim/naim-0.11.8.2.1.ebuild,v 1.6 2009/05/09 20:13:29 gentoofan23 Exp $
4
5 DESCRIPTION="An ncurses based AOL Instant Messenger"
6 HOMEPAGE="http://naim.n.ml.org"
7 SRC_URI="http://naim.googlecode.com/files/${P}.tar.bz2"
8
9 LICENSE="GPL-2"
10 SLOT="0"
11 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
12 IUSE="debug screen"
13
14 # the tests dont work
15 RESTRICT=test
16
17 DEPEND=">=sys-libs/ncurses-5.2
18 screen? ( app-misc/screen )"
19 RDEPEND="${DEPEND}"
20
21 src_unpack() {
22 unpack ${A}
23 cd "${S}"
24
25 # Alter makefile so firetalk-int.h is installed
26 sed -i 's/include_HEADERS = firetalk.h/include_HEADERS = firetalk.h firetalk-int.h/' \
27 libfiretalk/Makefile.am \
28 libfiretalk/Makefile.in || die "Sed failed!"
29 }
30
31 src_compile() {
32 # --enable-profile
33 local myconf=""
34
35 use debug && myconf="${myconf} --enable-debug"
36 use screen && myconf="${myconf} --enable-detach"
37
38 econf \
39 --with-pkgdocdir=/usr/share/doc/${PF} \
40 ${myconf}
41
42 # Use -j1, because naim doesn't compile with ${MAKEOPTS} > 1
43 # see bug #139329
44 emake -j1 || die "make failed"
45 }
46
47 src_install() {
48 make DESTDIR="${D}" install || die "make install failed"
49 dodoc AUTHORS FAQ BUGS README NEWS ChangeLog doc/*.hlp
50 }

  ViewVC Help
Powered by ViewVC 1.1.20