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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Mar 7 10:41:50 2011 UTC (3 years, 5 months ago) by jlec
Branch: MAIN
Changes since 1.2: +2 -2 lines
Correct Slots for gtk 3 introduction to tree

(Portage version: 2.2.0_alpha26/cvs/Linux x86_64)

1 # Copyright 1999-2011 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.11.ebuild,v 1.2 2011/03/02 20:11:42 jlec Exp $
4
5 EAPI=2
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.bz2
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 nls? ( sys-devel/gettext )"
38
39 G2CONF="${G2CONF} $(use_enable gnome) $(use_enable nls) \
40 --disable-update-mimedb --disable-scrollkeeper \
41 --disable-extra-gcc-optimization"
42 # gnome2.eclass adds --disable-gtk-doc or --enable-gtk-doc to G2CONF
43 # if there is the USE flag doc, thus leading to QA warnings
44 GCONF_DEBUG="no"
45 DOCS="AUTHORS ChangeLog NEWS README TODO"
46 USE_DESTDIR="1"
47
48 src_prepare() {
49 gnome2_src_prepare
50
51 # bug #333871
52 epatch "${FILESDIR}"/${PN}-make.patch
53 }
54
55 src_install() {
56 gnome2_src_install
57 if use doc; then
58 insinto /usr/share/doc/${PF}
59 doins "${DISTDIR}"/${PN}-reference.pdf
60 fi
61 }

  ViewVC Help
Powered by ViewVC 1.1.20