Gentoo Archives: gentoo-commits

From: "Andrey Grozin (grozin)" <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/mathgl: mathgl-1.8.ebuild metadata.xml ChangeLog
Date: Tue, 02 Dec 2008 16:23:06
Message-Id: E1L7Y1g-0003On-8U@stork.gentoo.org
1 grozin 08/12/02 16:23:04
2
3 Added: mathgl-1.8.ebuild metadata.xml ChangeLog
4 Log:
5 Initial import, based on ebuild in the science overlay
6 (Portage version: 2.2_rc16/cvs/Linux 2.6.26-tuxonice i686)
7
8 Revision Changes Path
9 1.1 sci-libs/mathgl/mathgl-1.8.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/mathgl/mathgl-1.8.ebuild?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/mathgl/mathgl-1.8.ebuild?rev=1.1&content-type=text/plain
13
14 Index: mathgl-1.8.ebuild
15 ===================================================================
16 # Copyright 1999-2008 Gentoo Foundation
17 # Distributed under the terms of the GNU General Public License v2
18 # $Header: /var/cvsroot/gentoo-x86/sci-libs/mathgl/mathgl-1.8.ebuild,v 1.1 2008/12/02 16:23:04 grozin Exp $
19 EAPI=2
20 inherit flag-o-matic
21 DESCRIPTION="Math Graphics Library"
22 IUSE="doc fltk glut hdf5 jpeg python qt4 wxwindows"
23 # octave bindings don't work for me :-(
24 HOMEPAGE="http://mathgl.sourceforge.net/"
25 LICENSE="GPL-2"
26 SLOT="0"
27 KEYWORDS="~x86"
28
29 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
30
31 RDEPEND="sci-libs/gsl
32 media-libs/libpng
33 virtual/glu
34 glut? ( virtual/glut )
35 fltk? ( x11-libs/fltk )
36 jpeg? ( media-libs/jpeg )
37 hdf5? ( sci-libs/hdf5 )
38 qt4? ( x11-libs/qt-gui:4 )
39 wxwindows? ( x11-libs/wxGTK:2.8 )"
40
41 DEPEND="${RDEPEND}
42 doc? ( app-text/texi2html virtual/texi2dvi )
43 python? ( dev-lang/swig[python] )"
44
45 src_configure() {
46 # fltk example compiles only if we add
47 use fltk && append-cppflags $(fltk-config --cflags)
48 use fltk && append-ldflags $(fltk-config --ldflags)
49
50 econf --docdir="${ROOT}"usr/share/doc/${P} \
51 $(use_enable glut) \
52 $(use_enable qt4 qt) \
53 $(use_enable wxwindows wx) \
54 $(use_enable fltk) \
55 $(use_enable jpeg) \
56 $(use_enable hdf5) \
57 $(use_enable python) \
58 $(use_enable doc docs)
59 }
60
61 src_install() {
62 emake DESTDIR="${D}" install || die "emake install failed"
63 dodoc README AUTHORS || die "dodoc failed"
64 }
65
66
67
68 1.1 sci-libs/mathgl/metadata.xml
69
70 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/mathgl/metadata.xml?rev=1.1&view=markup
71 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/mathgl/metadata.xml?rev=1.1&content-type=text/plain
72
73 Index: metadata.xml
74 ===================================================================
75 <?xml version="1.0" encoding="UTF-8"?>
76 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
77 <pkgmetadata>
78 <herd>sci</herd>
79 <maintainer>
80 <email>grozin@g.o</email>
81 <name>Andrey Grozin</name>
82 </maintainer>
83 <longdescription>Math Graphics Library</longdescription>
84 </pkgmetadata>
85
86
87
88 1.1 sci-libs/mathgl/ChangeLog
89
90 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/mathgl/ChangeLog?rev=1.1&view=markup
91 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/mathgl/ChangeLog?rev=1.1&content-type=text/plain
92
93 Index: ChangeLog
94 ===================================================================
95 # ChangeLog for sci-libs/mathgl
96 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
97 # $Header: /var/cvsroot/gentoo-x86/sci-libs/mathgl/ChangeLog,v 1.1 2008/12/02 16:23:04 grozin Exp $
98
99 *mathgl-1.8 (02 Dec 2008)
100
101 02 Dec 2008; Andrey Grozin <grozin@g.o> +metadata.xml,
102 +mathgl-1.8.ebuild:
103 Initial import, based on ebuild in the science overlay