/[gentoo-x86]/sci-mathematics/ginac/ginac-1.6.2.ebuild
Gentoo

Contents of /sci-mathematics/ginac/ginac-1.6.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Jun 4 16:13:15 2013 UTC (6 years, 7 months ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +17 -19 lines
Switch to EAPI5, autotools-utils, keywords amd64-linux and x86-linux

(Portage version: 2.2.01.21938-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/ginac/ginac-1.6.2.ebuild,v 1.2 2012/05/04 07:46:51 jdhore Exp $
4
5 EAPI=5
6
7 inherit autotools-utils
8
9 DESCRIPTION="C++ library and tools for symbolic calculations"
10 SRC_URI="ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/${P}.tar.bz2"
11 HOMEPAGE="http://www.ginac.de/"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
16 IUSE="doc static-libs"
17
18 RDEPEND=">=sci-libs/cln-1.2.2"
19 DEPEND="${RDEPEND}
20 virtual/pkgconfig
21 doc? ( app-doc/doxygen
22 media-gfx/transfig
23 virtual/texi2dvi
24 dev-texlive/texlive-fontsrecommended
25 )"
26
27 PATCHES=( "${FILESDIR}"/${PN}-1.5.1-pkgconfig.patch )
28
29 src_configure() {
30 local myeconfargs=( --disable-rpath )
31 autotools-utils_src_configure
32 }
33
34 src_compile() {
35 autotools-utils_src_compile
36 if use doc; then
37 export VARTEXFONTS="${T}"/fonts
38 cd "${BUILD_DIR}/doc/reference"
39 #pdf generation for reference failed (1.6.2), bug #264774
40 #emake html pdf
41 emake html
42 cd "${BUILD_DIR}/doc/tutorial"
43 emake ginac.pdf ginac.html
44 fi
45 }
46
47 src_install() {
48 autotools-utils_src_install
49 if use doc; then
50 cd ${BUILD_DIR}/doc
51 insinto /usr/share/doc/${PF}
52 newins tutorial/ginac.pdf tutorial.pdf
53 insinto /usr/share/doc/${PF}/html/reference
54 doins -r reference/html_files/*
55 insinto /usr/share/doc/${PF}/html
56 newins tutorial/ginac.html tutorial.html
57 insinto /usr/share/doc/${PF}/examples
58 doins "${S}"/doc/examples/*.cpp examples/ginac-examples.*
59 fi
60 }

  ViewVC Help
Powered by ViewVC 1.1.20