# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-libs/libkate/libkate-0.2.5.ebuild,v 1.6 2008/12/13 13:45:55 dertobi123 Exp $ DESCRIPTION="Codec for karaoke and text encapsulation for Ogg" HOMEPAGE="http://code.google.com/p/libkate/" SRC_URI="http://libkate.googlecode.com/files/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="alpha amd64 ppc ~ppc64 sparc x86 ~x86-fbsd" IUSE="doc" RDEPEND="media-libs/libogg media-libs/libpng" DEPEND="${RDEPEND} dev-util/pkgconfig sys-devel/flex sys-devel/bison doc? ( app-doc/doxygen )" src_compile() { econf $(use_enable doc) --docdir=/usr/share/doc/${PF} emake || die "emake failed" } src_install() { emake DESTDIR="${D}" install || die "make install failed" dodoc AUTHORS ChangeLog README }