summaryrefslogtreecommitdiff
blob: afd3e19efaeb0ef2dde7aced8c02de85a05ef572 (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/centericq/centericq-4.7.7-r1.ebuild,v 1.2 2002/07/17 09:08:06 seemant Exp $

S=${WORKDIR}/${P}
DESCRIPTION="A ncurses ICQ/Yahoo!/MSN Client"
SRC_URI="http://konst.org.ua/download/${P}.tar.gz"
HOMEPAGE="http://konst.org.ua/eng/software/centericq/info.html"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"

DEPEND="virtual/glibc
	>=sys-libs/ncurses-5.2
	=dev-libs/libsigc++-1.0*"

RDEPEND="nls? ( sys-devel/gettext )"

src_compile() {
	local myopts=""

	use nls || myopts="--disable-nls"
	
	./configure --prefix=/usr \
		--host=${CHOST} \
		--with-included-gettext \
		${myopts} || die "Configure failed"
	
	emake || die "Compilation failed"
}

src_install () {
	make DESTDIR=${D} install || die "Installation failed"

	dodoc ABOUT-NLS AUTHORS ChangeLog COPYING FAQ README THANKS TODO
}