/[gentoo-x86]/sci-mathematics/genius/genius-1.0.16.ebuild
Gentoo

Contents of /sci-mathematics/genius/genius-1.0.16.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Jan 2 08:35:45 2013 UTC (22 months, 3 weeks ago) by grozin
Branch: MAIN
Changes since 1.1: +3 -2 lines
Add dependency on app-text/gnome-doc-utils, bug #448636

(Portage version: 2.2.0_alpha149/cvs/Linux i686, unsigned Manifest commit)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/genius/genius-1.0.16.ebuild,v 1.1 2012/12/24 12:38:35 grozin Exp $
4
5 EAPI=4
6 inherit eutils gnome2
7
8 DESCRIPTION="Genius Mathematics Tool and the GEL Language"
9 HOMEPAGE="http://www.jirka.org/genius.html"
10 LICENSE="GPL-3"
11 SLOT="0"
12 KEYWORDS="~amd64 ~x86"
13 IUSE="doc gnome nls"
14 SRC_URI="http://ftp.gnome.org/pub/GNOME/sources/${PN}/1.0/${P}.tar.xz
15 doc? ( http://www.jirka.org/${PN}-reference.pdf )"
16
17 RDEPEND="
18 dev-libs/glib:2
19 dev-libs/gmp
20 dev-libs/mpfr
21 dev-libs/popt
22 sys-libs/ncurses
23 sys-libs/readline
24 gnome? (
25 x11-libs/gtk+:2
26 gnome-base/libgnome
27 gnome-base/libgnomeui
28 gnome-base/libglade:2.0
29 x11-libs/gtksourceview:2.0
30 x11-libs/vte:0 )"
31 DEPEND="${RDEPEND}
32 dev-util/intltool
33 || ( sys-devel/bison
34 dev-util/yacc )
35 sys-devel/flex
36 app-text/scrollkeeper
37 app-text/gnome-doc-utils
38 nls? ( sys-devel/gettext )"
39
40 G2CONF="${G2CONF} $(use_enable gnome) $(use_enable nls) \
41 --disable-update-mimedb --disable-scrollkeeper \
42 --disable-extra-gcc-optimization"
43 # gnome2.eclass adds --disable-gtk-doc or --enable-gtk-doc to G2CONF
44 # if there is the USE flag doc, thus leading to QA warnings
45 GCONF_DEBUG="no"
46 DOCS="AUTHORS ChangeLog NEWS README TODO"
47 USE_DESTDIR="1"
48
49 src_install() {
50 gnome2_src_install
51 if use doc; then
52 insinto /usr/share/doc/${PF}
53 doins "${DISTDIR}"/${PN}-reference.pdf
54 fi
55 }

  ViewVC Help
Powered by ViewVC 1.1.20