Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-mathematics/wxmaxima: ChangeLog wxmaxima-0.7.5.ebuild
Date: Tue, 29 Apr 2008 09:01:52
Message-Id: E1JqliW-0007JL-7k@stork.gentoo.org
1 bicatali 08/04/29 09:01:40
2
3 Modified: ChangeLog
4 Added: wxmaxima-0.7.5.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.1.5_rc6)
8
9 Revision Changes Path
10 1.17 sci-mathematics/wxmaxima/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog?rev=1.17&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog?rev=1.17&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog?r1=1.16&r2=1.17
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog,v
19 retrieving revision 1.16
20 retrieving revision 1.17
21 diff -u -r1.16 -r1.17
22 --- ChangeLog 19 Apr 2008 09:46:48 -0000 1.16
23 +++ ChangeLog 29 Apr 2008 09:01:39 -0000 1.17
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sci-mathematics/wxmaxima
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog,v 1.16 2008/04/19 09:46:48 bicatali Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog,v 1.17 2008/04/29 09:01:39 bicatali Exp $
29 +
30 +*wxmaxima-0.7.5 (29 Apr 2008)
31 +
32 + 29 Apr 2008; Sébastien Fabbro <bicatali@g.o>
33 + +wxmaxima-0.7.5.ebuild:
34 + Version bump
35
36 19 Apr 2008; Sébastien Fabbro <bicatali@g.o>
37 wxmaxima-0.7.4.ebuild:
38
39
40
41 1.1 sci-mathematics/wxmaxima/wxmaxima-0.7.5.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/wxmaxima/wxmaxima-0.7.5.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/wxmaxima/wxmaxima-0.7.5.ebuild?rev=1.1&content-type=text/plain
45
46 Index: wxmaxima-0.7.5.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/wxmaxima-0.7.5.ebuild,v 1.1 2008/04/29 09:01:39 bicatali Exp $
51
52 WX_GTK_VER="2.8"
53 EAPI="1"
54 inherit eutils autotools wxwidgets fdo-mime
55
56 MYP=wxMaxima-${PV}
57
58 DESCRIPTION="Graphical frontend to Maxima, using the wxWidgets toolkit."
59 HOMEPAGE="http://wxmaxima.sourceforge.net/"
60 SRC_URI="mirror://sourceforge/${PN}/${MYP}.tar.gz"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~ppc ~x86"
65 IUSE="unicode"
66
67 DEPEND=">=dev-libs/libxml2-2.5.0
68 x11-libs/wxGTK:2.8"
69 RDEPEND="${DEPEND}
70 >=sci-mathematics/maxima-5.15.0"
71
72 S="${WORKDIR}/${MYP}"
73
74 src_compile () {
75
76 # consistent package names
77 sed -i \
78 -e "s:${datadir}/wxMaxima:${datadir}/${PN}:g" \
79 Makefile.in data/Makefile.in || die "sed failed"
80
81 sed -i \
82 -e 's:share/wxMaxima:share/wxmaxima:g' \
83 src/wxMaxima.cpp || die "sed failed"
84
85 econf \
86 --enable-dnd \
87 --enable-printing \
88 --with-wx-config=${WX_CONFIG} \
89 $(use_unicode unicode-glyphs) \
90 || die "econf failed"
91
92 emake || die "emake failed"
93 }
94
95 src_install () {
96 emake DESTDIR="${D}" install || die "emake install failed"
97 doicon wxmaxima.png
98 make_desktop_entry wxmaxima wxMaxima wxmaxima
99 dodir /usr/share/doc/${PF}
100 dosym /usr/share/${PN}/README /usr/share/doc/${PF}/README
101 dodoc AUTHORS
102 }
103
104 pkg_postinst() {
105 fdo-mime_desktop_database_update
106 }
107
108 pkg_postrm() {
109 fdo-mime_desktop_database_update
110 }
111
112
113
114 --
115 gentoo-commits@l.g.o mailing list