# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-libs/xerces-c/xerces-c-2.4.0.ebuild,v 1.6 2004/07/02 04:57:24 eradicator Exp $ MY_P="lib${P}" DESCRIPTION="A C++ high-level yet efficent multithreading library, portable across pthread-enabled platforms." SRC_URI="mirror://sourceforge/wefts/${MY_P}.tar.gz" HOMEPAGE="http://wefts.sourceforge.net/" DEPEND="doc? ( app-doc/doxygen )" RDEPEND="" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 ~ppc" IUSE="doc debug" S=${WORKDIR}/${MY_P} src_compile() { econf `use_enable doc` `use_enable debug` || die emake || die } src_install () { make DESTDIR=${D} install || die if use doc; then dohtml -r ${S}/doc/html/* fi }