# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit autotools eutils DESCRIPTION="Xournal is an application for notetaking, sketching, keeping a journal using a stylus. It is similar to Microsoft Windows Journal or to other alternatives such as Jarnal, Gournal, and NoteLab." HOMEPAGE="http://xournal.sourceforge.net/" SRC_URI="mirror://sourceforge/xournal/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="pdf doc" DEPEND=">=x11-libs/gtk+-2.6 >=gnome-base/libgnomecanvas-2.4 >=gnome-base/libgnomeprint-2.2 >=gnome-base/libgnomeprint-2.2 pdf? (app-text/poppler virtual/ghostscript) " RDEPEND="${DEPEND}" src_compile() { eautoreconf || die "Configure failed!" econf || die "Configure failed!" emake || die "Make failed!" } src_install() { emake DESTDIR="${D}" install || die "Install failed!" if use doc ; then dohtml -r html-doc/* fi }