# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-text/djvu/djvu-3.5.12.ebuild,v 1.11 2006/06/24 05:27:42 cardoe Exp $ inherit nsplugins flag-o-matic MY_P="${PN}libre-${PV}" DESCRIPTION="A web-centric format and software platform for distributing documents and images." HOMEPAGE="http://djvu.sourceforge.net" SRC_URI="mirror://sourceforge/djvu/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 sparc ~amd64" IUSE="xml qt3" DEPEND=">=media-libs/jpeg-6b-r2 qt3? ( replace-flags -march=pentium4 -march=pentium3 local myconf="" use xml \ && myconf="${myconf} --enable-xmltools" use qt3 \ || myconf="${myconf} --without-qt" econf ${myconf} || die make depend emake || die } src_install() { einstall || die # plugin installation from eclass inst_plugin /usr/lib/netscape/plugins/nsdejavu.so }