/[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.2 - (show annotations) (download)
Wed May 16 17:46:43 2012 UTC (7 years, 9 months ago) by tomka
Branch: MAIN
Changes since 1.1: +2 -3 lines
Fix parallel build of docs

(Portage version: 2.1.10.60/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.9.0.ebuild,v 1.1 2012/04/13 16:30:07 tomka 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 emake docPdf
33 fi
34 }
35
36 src_install() {
37 dobin bin/frobby
38 dolib.a bin/libfrobby.a
39 insinto /usr/include
40 doins src/frobby.h
41 dodir /usr/include/"${PN}"
42 insinto /usr/include/"${PN}"
43 doins src/stdinc.h
44 if use doc; then
45 dodoc bin/manual.pdf
46 fi
47 }

  ViewVC Help
Powered by ViewVC 1.1.20