# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-irc/ircii/ircii-20030709-r1.ebuild,v 1.3 2003/10/01 23:27:13 zul Exp $ IUSE="ipv6" DESCRIPTION="ircII is an IRC and ICB client that runs under most UNIX platforms." SRC_URI="ftp://ircii.warped.com/pub/ircII/${P}.tar.bz2" HOMEPAGE="http://www.eterna.com.au/ircii/" DEPEND="sys-libs/ncurses >=sys-apps/sed-4" SLOT="0" LICENSE="GPL-2" KEYWORDS="~x86 ~amd64" src_unpack() { unpack ${A} } src_compile() { # use socks || myconf="${myconf} --with-socks" use ipv6 && myconf="${myconf} --enable-ipv6" ./configure \ --host=${CHOST} \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ --sysconfdir=/etc \ ${myconf} || die "./configure failed" emake || die } src_install() { einstall prepalldocs dodoc ChangeLog INSTALL NEWS README dodoc doc/Copyright doc/crypto doc/VERSIONS doc/ctcp }