/[gentoo-x86]/sci-misc/boinc/boinc-5.5.6.ebuild
Gentoo

Diff of /sci-misc/boinc/boinc-5.5.6.ebuild

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

Revision 1.6 Revision 1.7
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 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-misc/boinc/Attic/boinc-5.5.6.ebuild,v 1.6 2007/03/13 00:34:19 kugelfang Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/Attic/boinc-5.5.6.ebuild,v 1.7 2007/05/19 07:49:23 dirtyepic Exp $
4 4
5inherit eutils 5inherit eutils wxwidgets
6 6
7DESCRIPTION="The Berkeley Open Infrastructure for Network Computing" 7DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
8HOMEPAGE="http://boinc.ssl.berkeley.edu/" 8HOMEPAGE="http://boinc.ssl.berkeley.edu/"
9SRC_URI="mirror://gentoo//${P}.tar.bz2" 9SRC_URI="mirror://gentoo//${P}.tar.bz2"
10 10
14IUSE="server X unicode" 14IUSE="server X unicode"
15 15
16RDEPEND="sys-libs/zlib 16RDEPEND="sys-libs/zlib
17 >=net-misc/curl-7.15.0 17 >=net-misc/curl-7.15.0
18 >=dev-libs/openssl-0.9.7 18 >=dev-libs/openssl-0.9.7
19 X? ( >=x11-libs/wxGTK-2.6.2 ) 19 X? ( =x11-libs/wxGTK-2.6* )
20 server? ( net-www/apache 20 server? ( net-www/apache
21 >=virtual/mysql-4.0 21 >=virtual/mysql-4.0
22 virtual/php 22 virtual/php
23 >=dev-lang/python-2.2.3 23 >=dev-lang/python-2.2.3
24 >=dev-python/mysql-python-0.9.2 )" 24 >=dev-python/mysql-python-0.9.2 )"
45 # point to a proper mouse device 45 # point to a proper mouse device
46 sed -e "s:/dev/mouse:/dev/input/mice:g" -i client/hostinfo_unix.C || die 46 sed -e "s:/dev/mouse:/dev/input/mice:g" -i client/hostinfo_unix.C || die
47} 47}
48 48
49src_compile() { 49src_compile() {
50 if use X; then
51 WX_GTK_VER=2.6
52 if use unicode; then
53 need-wxwidgets unicode
54 else
55 need-wxwidgets gtk2
56 fi
57 wxconf="--with-wx-config=${WX_CONFIG}"
58 fi
59
50 # Just run the necessary tools directly 60 # Just run the necessary tools directly
51 einfo "Running necessary autotools..." 61 einfo "Running necessary autotools..."
52 aclocal -I m4 || die "aclocal failed." 62 aclocal -I m4 || die "aclocal failed."
53 autoheader || die "autoheader failed." 63 autoheader || die "autoheader failed."
54 automake || die "automake failed." 64 automake || die "automake failed."
55 autoconf || die "autoconf failed." 65 autoconf || die "autoconf failed."
56 econf \ 66 econf \
57 --enable-client \ 67 --enable-client \
58 --disable-static-client \ 68 --disable-static-client \
59 --with-wx-config=$(type -P wx-config-2.6) \ 69 ${wxconf} \
60 $(use_enable unicode) \ 70 $(use_enable unicode) \
61 $(use_enable server) \ 71 $(use_enable server) \
62 $(use_with X x) || die "econf failed" 72 $(use_with X x) || die "econf failed"
63 # Make it link to the compiled libs, not the installed ones 73 # Make it link to the compiled libs, not the installed ones
64 sed -e "s|LDFLAGS = |LDFLAGS = -L../lib |g" -i */Makefile || \ 74 sed -e "s|LDFLAGS = |LDFLAGS = -L../lib |g" -i */Makefile || \

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20