/[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.3 - (hide annotations) (download)
Fri May 18 08:05:07 2012 UTC (7 years, 9 months ago) by ago
Branch: MAIN
Changes since 1.2: +2 -2 lines
Stable for amd64, wrt bug #415975

(Portage version: 2.1.10.49/cvs/Linux x86_64)

1 tomka 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 ago 1.3 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/frobby/frobby-0.9.0.ebuild,v 1.2 2012/05/16 17:46:43 tomka Exp $
4 tomka 1.1
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 ago 1.3 KEYWORDS="amd64 ~x86"
16 tomka 1.1 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 tomka 1.2 emake docPdf
33 tomka 1.1 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