# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-irc/quirc/quirc-0.9.83-r1.ebuild,v 1.2 2003/02/13 14:16:37 vapier Exp $ S=${WORKDIR}/${P} DESCRIPTION="A GUI IRC client scriptable in Tcl/Tk" SRC_URI="http://quirc.org/${P}.tar.gz" HOMEPAGE="http://quirc.org/" DEPEND="dev-lang/tcl dev-lang/tk" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86" src_unpack() { unpack ${A} cd ${S} patch -p1 < ${FILESDIR}/0.9.83-r1-gentoo.diff || die "patch failed" } src_compile() { export CXX="g++" econf \ --datadir=/usr/share/quirc \ || die "./configure failed" emake || die } src_install () { exeinto /usr/bin doexe quirc insinto /usr/share/quirc doins data/*.tcl data/quedit data/fontsel data/servers data/VERSION insinto /usr/share/quirc/common doins ${S}/data/common/*.tcl insinto /usr/share/quirc/themes doins ${S}/data/themes/*.tcl # this package installs docs, but we would rather do that ourselves dodoc README NEWS INSTALL FAQ ChangeLog* COPYING AUTHORS dodoc doc/*.txt }