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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sun Jul 22 15:32:03 2012 UTC (7 years, 7 months ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Version bump, keyword amd64-linux, x86-linux

(Portage version: 2.2.01.20757-prefix/cvs/Linux x86_64)

1 bicatali 1.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.4 2012/07/10 18:03:44 ranger 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 ~amd64-linux ~x86-linux"
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