summaryrefslogtreecommitdiff
blob: f35bff9986cad320a86449d9618fe45c4e843e75 (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
40
41
42
43
44
45
46
47
48
49
50
51
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

inherit fdo-mime

DESCRIPTION="Gnome application to organise documents or references, and to generate BibTeX bibliography files"
HOMEPAGE="http://icculus.org/referencer/"
SRC_URI="http://icculus.org/${PN}/downloads/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND=">=virtual/poppler-0.5.0
	>=dev-cpp/gtkmm-2.8
	>=dev-cpp/libgnomeuimm-2.14.0
	>=dev-cpp/gnome-vfsmm-2.14.0
	>=dev-cpp/libglademm-2.6.0
	>=dev-cpp/gconfmm-2.14.0
	virtual/poppler-glib
	dev-libs/boost
	dev-lang/python"

DEPEND="${RDEPEND}
	>=app-text/gnome-doc-utils-0.3.2
	dev-util/pkgconfig
	>=dev-lang/perl-5.8.1
	dev-perl/libxml-perl
	dev-util/intltool
	app-text/rarian"

src_configure() {
	econf --disable-update-mime-database --enable-python
}

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

pkg_postinst() {
	fdo-mime_mime_database_update
}

pkg_postrm() {
	fdo-mime_mime_database_update
}