/[gentoo-x86]/sci-mathematics/mathomatic/mathomatic-15.8.5.ebuild
Gentoo

Contents of /sci-mathematics/mathomatic/mathomatic-15.8.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Tue Jul 10 18:03:44 2012 UTC (7 years, 6 months ago) by ranger
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
Marking mathomatic-15.8.5 ppc for bug 425060

(Portage version: 2.1.10.65/cvs/Linux ppc64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/mathomatic/mathomatic-15.8.5.ebuild,v 1.3 2012/07/06 17:49:59 jdhore Exp $
4
5 EAPI=4
6 inherit toolchain-funcs flag-o-matic
7
8 DESCRIPTION="Automatic algebraic manipulator"
9 HOMEPAGE="http://www.mathomatic.org/"
10 SRC_URI="${HOMEPAGE}/archive/${P}.tar.bz2"
11
12 LICENSE="LGPL-2.1"
13 SLOT="0"
14 KEYWORDS="amd64 ppc x86"
15 IUSE="doc gnuplot"
16
17 DEPEND="sys-libs/readline
18 sys-libs/ncurses"
19 RDEPEND="${DEPEND}
20 gnuplot? ( sci-visualization/gnuplot )"
21
22 src_compile() {
23 append-cflags -DBOLD_COLOR=1
24 emake READLINE=1 CC=$(tc-getCC)
25 emake CC=$(tc-getCC) -C primes
26 }
27
28 src_test() {
29 default
30 emake -C primes check
31 }
32
33 src_install() {
34 emake prefix="${EPREFIX}usr" DESTDIR="${D}" bininstall
35 emake prefix="${EPREFIX}usr" DESTDIR="${D}" -C primes install
36 dodoc changes.txt README.txt AUTHORS
37 newdoc primes/README.txt README-primes.txt
38 use doc && emake \
39 prefix="${EPREFIX}usr" \
40 mathdocdir="${EPREFIX}usr/share/doc/${PF}" \
41 DESTDIR="${D}" docinstall
42 }

  ViewVC Help
Powered by ViewVC 1.1.20