|
|
# Copyright 1999-2006 Gentoo Foundation | # Copyright 1999-2006 Gentoo Foundation |
# Distributed under the terms of the GNU General Public License v2 | # Distributed under the terms of the GNU General Public License v2 |
# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/boinc-5.5.6.ebuild,v 1.5 2006/11/23 16:17:55 vivo Exp $ |
# $Header: $ |
| |
inherit eutils | inherit eutils |
|
inherit flag-o-matic |
| |
DESCRIPTION="The Berkeley Open Infrastructure for Network Computing" | DESCRIPTION="The Berkeley Open Infrastructure for Network Computing" |
HOMEPAGE="http://boinc.ssl.berkeley.edu/" | HOMEPAGE="http://boinc.ssl.berkeley.edu/" |
|
|
IUSE="server X unicode" | IUSE="server X unicode" |
| |
RDEPEND="sys-libs/zlib | RDEPEND="sys-libs/zlib |
>=net-misc/curl-7.15.0 |
>=net-misc/curl-7.15.5 |
>=dev-libs/openssl-0.9.7 | >=dev-libs/openssl-0.9.7 |
X? ( >=x11-libs/wxGTK-2.6.2 ) | X? ( >=x11-libs/wxGTK-2.6.2 ) |
server? ( net-www/apache | server? ( net-www/apache |
|
|
src_unpack() { | src_unpack() { |
unpack ${A} | unpack ${A} |
cd ${S} | cd ${S} |
|
|
# point to a proper mouse device |
|
sed -e "s:/dev/mouse:/dev/input/mice:g" -i client/hostinfo_unix.C || die |
|
} | } |
| |
src_compile() { | src_compile() { |
|
append-flags -O3 -funroll-loops -fforce-addr -ffast-math |
# Just run the necessary tools directly | # Just run the necessary tools directly |
einfo "Running necessary autotools..." | einfo "Running necessary autotools..." |
aclocal -I m4 || die "aclocal failed." | aclocal -I m4 || die "aclocal failed." |