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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.3 Revision 1.4
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/frobby/Attic/frobby-0.9.0.ebuild,v 1.3 2012/05/18 08:05:07 ago Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/frobby/Attic/frobby-0.9.0.ebuild,v 1.4 2012/05/18 16:32:13 tomka Exp $
4 4
5EAPI=4 5EAPI=4
6 6
7inherit eutils 7inherit eutils
8 8
10HOMEPAGE="http://www.broune.com/frobby/" 10HOMEPAGE="http://www.broune.com/frobby/"
11SRC_URI="http://www.broune.com/frobby/frobby_v${PV}.tar.gz" 11SRC_URI="http://www.broune.com/frobby/frobby_v${PV}.tar.gz"
12 12
13LICENSE="GPL-2" 13LICENSE="GPL-2"
14SLOT="0" 14SLOT="0"
15KEYWORDS="amd64 ~x86" 15KEYWORDS="amd64 x86"
16IUSE="doc" 16IUSE="doc"
17 17
18RDEPEND="dev-libs/gmp[cxx]" 18RDEPEND="dev-libs/gmp[cxx]"
19DEPEND="${RDEPEND} 19DEPEND="${RDEPEND}
20 doc? ( virtual/latex-base )" 20 doc? ( virtual/latex-base )"
21 21
22S="${WORKDIR}/frobby_v${PV}" 22S="${WORKDIR}/frobby_v${PV}"
23 23
24src_prepare() { 24src_prepare() {
25 epatch "${FILESDIR}/${PN}-cflags-no-strip.patch" 25 epatch "${FILESDIR}/${PN}-cflags-no-strip.patch"
26 # CXXFLAGS are called CPPFLAGS
27 sed "s/CPPFLAGS/CXXFLAGS/" -i Makefile
26} 28}
27 29
28src_compile() { 30src_compile() {
29 emake 31 # Makefile uses the value of CXX which may be defined in /etc/env,
30 emake library 32 # breaking cross-compile.
33 CXX=$(tc-getCXX) emake
34 CXX=$(tc-getCXX) emake library
31 if use doc; then 35 if use doc; then
32 emake docPdf 36 emake docPdf
33 fi 37 fi
34} 38}
35 39

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20