/[gentoo-x86]/sci-libs/beagle/beagle-3.0.3.ebuild
Gentoo

Contents of /sci-libs/beagle/beagle-3.0.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sun Jun 15 21:23:54 2014 UTC (5 years, 7 months ago) by jauhien
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +5 -5 lines
fix bug #513348, bump to EAPI 5, add ~amd64, thanks to Georg Rudoy

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB2EFA1D4)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=5
6
7 inherit autotools-utils
8
9 DESCRIPTION="Open BEAGLE, a versatile EC/GA/GP framework"
10 SRC_URI="mirror://sourceforge/beagle/${P}.tar.gz"
11 HOMEPAGE="http://beagle.gel.ulaval.ca/"
12
13 SLOT="0"
14 LICENSE="LGPL-2.1"
15 KEYWORDS="~amd64 x86"
16 IUSE="doc static-libs"
17
18 RDEPEND="
19 sys-libs/zlib
20 !app-misc/beagle
21 !dev-libs/libbeagle"
22 DEPEND="${DEPEND}
23 doc? ( app-doc/doxygen )"
24
25 PATCHES=( "${FILESDIR}"/${PN}-3.0.3-gcc43.patch "${FILESDIR}"/${PN}-3.0.3-gcc47.patch )
26
27 AUTOTOOLS_IN_SOURCE_BUILD=1
28
29 src_prepare() {
30 autotools-utils_src_prepare
31 sed -e "s:@LIBS@:@LIBS@ -lpthread:" \
32 -i PACC/Threading/Makefile.in || \
33 die "Failed to fix threading libs makefile."
34 }
35
36 src_configure() {
37 local myeconfargs=( --enable-optimization )
38 autotools-utils_src_configure
39 }
40
41 src_compile() {
42 autotools-utils_src_compile
43
44 use doc && autotools-utils_src_compile doc
45 }
46
47 src_install () {
48 autotools-utils_src_install
49
50 if use doc; then
51 cp -pPR examples "${D}"/usr/share/doc/${PF} || \
52 die "Failed to install examples."
53 dohtml -r refman/*
54 fi
55 }

  ViewVC Help
Powered by ViewVC 1.1.20