blob: aab19c3fec652ee0c8def6ec9c975d10e96282af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils
MYP=wxMaxima-${PV}
DESCRIPTION="A Graphical frontend to Maxima, using the wxWidgets toolkit."
HOMEPAGE="http://wxmaxima.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${MYP}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="static"
DEPEND=">=dev-libs/libxml2-2.5.0
>=x11-libs/wxGTK-2.6"
RDEPEND=">=sci-mathematics/maxima-5.9.2"
S=${WORKDIR}/${MYP}
src_compile () {
econf $(use_enable static static-wx) || "econf failed"
emake || "emake failed"
}
src_install () {
make DESTDIR=${D} install || "make install failed"
insinto /usr/share/pixmaps/
doins maxima-new.png
make_desktop_entry wxmaxima wxMaxima maxima-new
dodir /usr/share/doc
dosym /usr/share/${PN} /usr/share/doc/${PF}
}
|