# Copyright 1999-2001 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Stein Magnus Jodal # /space/gentoo/cvsroot/gentoo-x86/net-irc/silc-client/silc-client-0.7.6.2.ebuild,v 1.0 2002/02/05 21:23:54 drobbins Exp S=${WORKDIR}/${P} DESCRIPTION="Secure Internet Live Conferencing" SRC_URI="http://www.silcnet.org/download/client/sources/silc-client-0.7.6.2.tar.gz" HOMEPAGE="http://silcnet.org" DEPEND="virtual/glibc >=dev-libs/glib-1.2.0 sys-libs/ncurses" src_compile() { # Edit these if you like myconf="--with-ncurses" if [ "`user ipv6`" ] then myconf="${myconf} --enable-ipv6" fi ./configure \ --host=${CHOST} \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ --sysconfdir=/etc \ --sharedstatedir=/usr/share \ --localstatedir=/var \ ${myconf} || die "./configure failed" emake || die } src_install () { make DESTDIR=${D} \ docdir=/usr/share/doc/${PF} \ gnulocaledir=${D}/usr/share/locale \ install || die dodoc CREDITS CHANGES README INSTALL TODO }