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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Feb 15 00:31:08 2009 UTC (10 years, 11 months ago) by loki_val
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Bump because 3.0.1 failed to configure. Patch for bug 251629, gcc-4.3 compatibility.
(Portage version: 2.2_rc23/cvs/Linux x86_64)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/beagle/beagle-3.0.1.ebuild,v 1.3 2008/05/17 10:09:03 bicatali Exp $
4
5 IUSE="doc"
6
7 DESCRIPTION="Open BEAGLE, a versatile EC/GA/GP framework"
8 SRC_URI="mirror://sourceforge/beagle/${P}.tar.gz"
9 HOMEPAGE="http://www.gel.ulaval.ca/~beagle/index.html"
10 SLOT="0"
11 LICENSE="LGPL-2.1"
12 KEYWORDS="~x86"
13
14 RDEPEND="sys-libs/zlib
15 !app-misc/beagle"
16
17 DEPEND="${DEPEND}
18 doc? ( app-doc/doxygen )"
19
20 src_unpack() {
21 unpack ${A}
22 cd "${S}"
23 sed -e "s:@LIBS@:@LIBS@ -lpthread:" \
24 -i PACC/Threading/Makefile.in || \
25 die "Failed to fix threading libs makefile."
26 }
27
28 src_compile() {
29 econf --enable-optimization || die "Configure failed."
30 emake || die "Make failed."
31
32 if use doc; then
33 make doc || die "Failed to generate docs."
34 fi
35 }
36
37 src_install () {
38 emake install DESTDIR="${D}" || die
39 dodoc AUTHORS ChangeLog NEWS README TODO
40
41 if use doc; then
42 cp -pPR examples "${D}"/usr/share/doc/${PF} || \
43 die "Failed to install examples."
44 dohtml -r refman/* || die "Failed to install manual."
45 fi
46 }

  ViewVC Help
Powered by ViewVC 1.1.20