Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 164750 | Differences between
and this patch

Collapse All | Expand All

(-)referencer-1.1.5.ebuild (-14 / +14 lines)
Lines 1-13 Link Here
1
# Copyright 1999-2007 Gentoo Foundation
1
# Copyright 1999-2009 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: $
3
# $Header: $
4
4
5
inherit eutils autotools
5
EAPI="2"
6
6
7
DESCRIPTION="Referencer is a Gnome application to organise documents or
7
inherit eutils autotools fdo-mime
8
references, and ultimately generate a BibTeX bibliography file."
8
9
HOMEPAGE="http://icculus.org/~jcspray/referencer/"
9
DESCRIPTION="Gnome application to organise documents or references, and to
10
SRC_URI="http://icculus.org/~jcspray/referencer/downloads/${P}.tar.gz"
10
generate BibTeX bibliography files."
11
HOMEPAGE="http://icculus.org/referencer/"
12
SRC_URI="http://icculus.org/referencer/downloads/${P}.tar.gz"
11
13
12
LICENSE="GPL-2"
14
LICENSE="GPL-2"
13
SLOT="0"
15
SLOT="0"
Lines 22-44 Link Here
22
	>=dev-cpp/gconfmm-2.14.0
24
	>=dev-cpp/gconfmm-2.14.0
23
	dev-libs/boost
25
	dev-libs/boost
24
	python? ( dev-lang/python )"
26
	python? ( dev-lang/python )"
25
RDEPEND=""
27
RDEPEND="${DEPEND}"
26
28
27
src_compile() {
29
src_configure() {
28
	econf --disable-update-mime-database $(use_enable python) \
30
	econf --disable-update-mime-database $(use_enable python)
29
		|| die "econf failed!"
30
	emake || die "emake failed!"
31
}
31
}
32
32
33
src_install() {
33
src_install() {
34
	emake DESTDIR="${D}" install || die "emake install failed!"
34
	emake DESTDIR="${D}" install || die "emake install failed!"
35
	dodoc AUTHORS ChangeLog NEWS README TODO  || die
35
}
36
}
36
37
37
pkg_postinst() {
38
pkg_postinst() {
38
	update-mime-database "/usr/share/mime"
39
	fdo-mime_mime_database_update
39
}
40
}
40
41
41
pkg_postrm() {
42
pkg_postrm() {
42
	update-mime-database "/usr/share/mime"
43
	fdo-mime_mime_database_update
43
}
44
}
44

Return to bug 164750