/[gentoo-x86]/sci-mathematics/topcom/topcom-0.17.4.ebuild
Gentoo

Contents of /sci-mathematics/topcom/topcom-0.17.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Jul 12 06:19:23 2012 UTC (10 months, 1 week ago) by jlec
Branch: MAIN
CVS Tags: HEAD
sci-mathematics/topcom: Version Bump, fix compilation with gcc-4.7, #426214

(Portage version: 2.2.0_alpha116/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/topcom/topcom-0.16.2.ebuild,v 1.1 2010/11/09 17:48:55 tomka Exp $
4
5 EAPI=4
6
7 AUTOTOOLS_AUTORECONF=yes
8
9 inherit autotools-utils flag-o-matic
10
11 DESCRIPTION="Computing Triangulations Of Point Configurations and Oriented Matroids"
12 HOMEPAGE="http://www.rambau.wm.uni-bayreuth.de/TOPCOM/"
13 SRC_URI="
14 http://www.uni-bayreuth.de/departments/wirtschaftsmathematik/rambau/Software/TOPCOM-${PV}.tar.gz
15 doc? ( http://www.rambau.wm.uni-bayreuth.de/TOPCOM/TOPCOM-manual.html )"
16
17 KEYWORDS="~amd64 ~x86"
18 SLOT="0"
19 LICENSE="GPL-2"
20 IUSE="doc examples static-libs"
21
22 DEPEND="
23 >=dev-libs/gmp-5.0.5
24 >=sci-libs/cddlib-094f"
25 RDEPEND="${DEPEND}"
26
27 S="${WORKDIR}"/TOPCOM-${PV}
28
29 PATCHES=(
30 "${FILESDIR}"/${P}-no-internal-libs.patch
31 "${FILESDIR}"/${P}-buildsystem.patch
32 )
33
34 src_prepare () {
35 # ... and link in tree versions:
36 append-libs -lgmp -lgmpxx -lcddgmp
37
38 find external -delete || die
39
40 mv configure.{in,ac} || die
41
42 autotools-utils_src_prepare
43 }
44
45 src_install () {
46 autotools-utils_src_install
47
48 use static-libs || rm -f "${ED}"/usr/$(get_libdir)/*a
49
50 use doc && dohtml "${DISTDIR}"/TOPCOM-manual.html
51
52 use examples && dodoc -r "${S}"/examples
53 }

  ViewVC Help
Powered by ViewVC 1.1.13