# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-libs/tc2/tc2-0.6.0.ebuild,v 1.4 2005/12/16 12:02:34 flameeyes Exp $ IUSE="static debug" DESCRIPTION="TC2 is a library to simplify writing of modular programs." HOMEPAGE="http://tc2.sourceforge.net" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" SLOT="0" LICENSE="MIT" KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~mips ~ia64 ~amd64" DEPEND=">=dev-libs/libtc-1.1.0" src_compile() { local myconf use debug && myconf="${myconf} --enable-debug" use static && myconf="${myconf} --enable-static" econf ${myconf} || die "configure failed" make || die } src_install() { make DESTDIR=${D} install || die dodoc AUTHORS ChangeLog COPYING }