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

Contents of /sci-misc/boinc/boinc-4.72.20050725.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Aug 20 15:15:06 2005 UTC (14 years, 6 months ago) by cryos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Cleaned out some old ebuilds. Fixed the php dependency, closing bug 102835.
(Portage version: 2.0.51.22-r2)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/boinc-4.72.20050725.ebuild,v 1.1 2005/08/14 00:18:39 ribosome Exp $
4
5 inherit eutils
6
7 MY_PN="boinc_public-cvs"
8 MY_PV="2005-07-25"
9 S=${WORKDIR}/boinc_public
10
11 DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
12 HOMEPAGE="http://boinc.ssl.berkeley.edu/"
13 SRC_URI="http://boinc.ssl.berkeley.edu/source/nightly/${MY_PN}-${MY_PV}.tar.gz"
14
15 LICENSE="LGPL-2.1"
16 SLOT="0"
17 KEYWORDS="~amd64 ~ppc ~x86"
18 IUSE="server X"
19
20 RDEPEND=" X? ( virtual/x11
21 virtual/glut
22 virtual/glu
23 >=x11-libs/wxGTK-2.6.0 )
24 server? ( net-www/apache
25 >=dev-db/mysql-4.0.24
26 >=dev-php/php-4.3.10
27 >=dev-lang/python-2.2.3
28 dev-python/mysql-python )"
29 DEPEND=">=sys-devel/gcc-3.0.4
30 >=sys-devel/autoconf-2.59
31 >=sys-devel/automake-1.9.3
32 ${RDEPEND}"
33
34 src_unpack() {
35 unpack ${A}
36 cd ${S}
37
38 # point to a proper mouse device
39 sed -e "s:/dev/mouse:/dev/input/mice:g" -i client/hostinfo_unix.C || die
40 }
41
42 src_compile() {
43 econf \
44 --enable-client \
45 --disable-static-client \
46 --with-wx-config=$(which wx-config-2.6) \
47 $(use_enable server) \
48 $(use_with X x) || die
49 emake || die
50 }
51
52 src_install() {
53 make install DESTDIR=${D} || die
54
55 newinitd ${FILESDIR}/boinc.init boinc
56 newconfd ${FILESDIR}/boinc.conf boinc
57 }
58
59 pkg_preinst() {
60 enewgroup boinc
61 enewuser boinc -1 /bin/false /var/lib/boinc boinc
62 }
63
64 pkg_postinst() {
65 echo
66 einfo "You need to attach to a project to do anything useful with boinc."
67 einfo "You can do this by running /etc/init.d/boinc attach"
68 einfo "BOINC The howto for configuration is located at:"
69 einfo "http://boinc.berkeley.edu/anonymous_platform.php"
70 if use server;then
71 echo
72 einfo "You have chosen to enable server mode. this ebuild has installed"
73 einfo "the necessary packages to be a server. You will need to have a"
74 einfo "project. Contact BOINC directly for further information."
75 fi
76 echo
77 }

  ViewVC Help
Powered by ViewVC 1.1.20