summaryrefslogtreecommitdiff
blob: e1c67074bf548e45e877c206a92d774bc8c7e90a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Copyright 2003-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/ignuit/ignuit-0.0.14.ebuild,v 1.5 2009/04/29 20:59:12 fauli Exp $

DESCRIPTION="memorization aid based on the Leitner flashcard system"
HOMEPAGE="http://homepages.ihug.co.nz/~trmusson/programs.html#ignuit"
SRC_URI="http://homepages.ihug.co.nz/~trmusson/stuff/${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="examples"

RDEPEND=">=gnome-base/libgnomeui-2.22.1
	gnome-base/gconf
	gnome-base/libglade
	>=dev-libs/glib-2
	>=x11-libs/gtk+-2
	>=media-libs/gstreamer-0.10.20
	dev-libs/libxslt
	dev-libs/libxml2
	x11-libs/pango
	app-text/dvipng
	virtual/latex-base
	>=app-text/gnome-doc-utils-0.3.2"

DEPEND="${RDEPEND}
	sys-devel/gettext
	dev-util/intltool"

src_install() {
	emake DESTDIR="${D}" install || die "emake install failed."
	dodoc AUTHORS NEWS README TODO || die "dodoc failed"

	if use examples; then
		insinto /usr/share/doc/${PF}
		doins -r examples
	fi
}