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

Contents of /sci-mathematics/frobby/frobby-0.9.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Apr 13 16:30:07 2012 UTC (7 years, 10 months ago) by tomka
Branch: MAIN
Bump to 0.9.0

(Portage version: 2.1.10.56/cvs/Linux x86_64)

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/frobby/frobby-0.8.2-r1.ebuild,v 1.7 2011/11/14 11:26:47 flameeyes Exp $
4
5 EAPI=4
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}-cflags-no-strip.patch"
26 }
27
28 src_compile() {
29 emake
30 emake library
31 if use doc; then
32 # latex loops don't parallelize well
33 emake -j1 doc
34 fi
35 }
36
37 src_install() {
38 dobin bin/frobby
39 dolib.a bin/libfrobby.a
40 insinto /usr/include
41 doins src/frobby.h
42 dodir /usr/include/"${PN}"
43 insinto /usr/include/"${PN}"
44 doins src/stdinc.h
45 if use doc; then
46 dodoc bin/manual.pdf
47 fi
48 }

  ViewVC Help
Powered by ViewVC 1.1.20