/[gentoo-x86]/sci-mathematics/frobby/frobby-0.8.2-r1.ebuild
Gentoo

Contents of /sci-mathematics/frobby/frobby-0.8.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Fri May 18 16:32:15 2012 UTC (7 years, 8 months ago) by tomka
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
Fix direct g++ calls and CXXFLAGS (bug 415975).  x86 stable.

(Portage version: 2.1.10.62/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/frobby/frobby-0.8.2-r1.ebuild,v 1.7 2011/11/14 11:26:47 flameeyes Exp $
4
5 EAPI=2
6
7 inherit eutils
8
9 DESCRIPTION="Frobby is a software system and project for computations with monomial ideals"
10 HOMEPAGE="http://www.broune.com/frobby/"
11 SRC_URI="http://www.broune.com/frobby/frobby_v${PV}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 x86"
16 IUSE="doc"
17
18 RDEPEND="dev-libs/gmp[cxx]"
19 DEPEND="${RDEPEND}
20 doc? ( virtual/latex-base )"
21
22 S="${WORKDIR}/frobby_v${PV}"
23
24 src_prepare() {
25 epatch "${FILESDIR}/${PN}-latex.patch"
26 epatch "${FILESDIR}/${PN}-useless-checks.patch"
27 epatch "${FILESDIR}/${PN}-cflags-no-strip.patch"
28 }
29
30 src_compile() {
31 emake || die "compile failed"
32 emake library || die "making libfrobby failed"
33 if use doc; then
34 # latex loops don't parallelize well
35 emake -j1 doc || die "failed creating documentation"
36 fi
37 }
38
39 src_install() {
40 dobin bin/frobby || die
41 dolib.a bin/libfrobby.a || die
42 insinto /usr/include
43 doins src/frobby.h || die
44 dodir /usr/include/"${PN}" || die
45 insinto /usr/include/"${PN}"
46 doins src/stdinc.h || die
47 if use doc; then
48 dodoc bin/manual.pdf || die
49 fi
50 }

  ViewVC Help
Powered by ViewVC 1.1.20