# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="VoriaETL is a multiplatform class and template library designed to complement and supplement the C++ STL." HOMEPAGE="http://www.synfig.com/" SRC_URI="mirror://gentoo/${PF}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="doc" DEPEND="doc? ( app-doc/doxygen )" WANT_AUTOCONF="2.5" WANT_AUTOMAKE="1.6" inherit autotools src_compile() { ./bootstrap econf || die "Configure failed." emake || die "Make failed." if use doc; then emake docs || ewarn '"Make docs" failed.'; fi } src_install() { emake DESTDIR="${D}" install || die "Install failed!" if use doc; then insinto /usr/share/doc/${PF} dohtml doc/html/* fi }