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

Contents of /sci-misc/boinc/boinc-4.72.20050813-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Oct 29 22:49:29 2005 UTC (14 years, 3 months ago) by cryos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Correct error in init file, revision bump to push it out, closes bug 110839.
(Portage version: 2.0.53_rc6)

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.20050813-r1.ebuild,v 1.1 2005/10/29 14:49:52 cryos Exp $
4
5 inherit eutils
6
7 MY_PN="boinc_public-cvs"
8 MY_PV="2005-08-13"
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 ~ia64 ~ppc ~sparc ~x86"
18 IUSE="server X"
19
20 RDEPEND="sys-libs/zlib
21 X? ( >=x11-libs/wxGTK-2.6.1 )
22 server? ( net-www/apache
23 >=dev-db/mysql-4.0.24
24 virtual/php
25 >=dev-lang/python-2.2.3
26 >=dev-python/mysql-python-0.9.2 )"
27 DEPEND=">=sys-devel/gcc-3.0.4
28 >=sys-devel/autoconf-2.59
29 >=sys-devel/automake-1.9.3
30 X? ( || ( ( x11-libs/libXmu
31 x11-libs/libXt
32 x11-libs/libX11
33 x11-proto/xproto )
34 virtual/x11 )
35 virtual/glut
36 virtual/glu
37 media-libs/jpeg )
38 server? ( virtual/imap-c-client )
39 ${RDEPEND}"
40
41 src_unpack() {
42 unpack ${A}
43 cd ${S}
44
45 # point to a proper mouse device
46 sed -e "s:/dev/mouse:/dev/input/mice:g" -i client/hostinfo_unix.C || die
47 }
48
49 src_compile() {
50 econf \
51 --enable-client \
52 --disable-static-client \
53 --with-wx-config=$(which wx-config-2.6) \
54 $(use_enable server) \
55 $(use_with X x) || die "econf failed"
56 emake || die "emake failed"
57 }
58
59 src_install() {
60 make install DESTDIR=${D} || die "make install failed"
61
62 newinitd ${FILESDIR}/boinc.init boinc
63 newconfd ${FILESDIR}/boinc.conf boinc
64
65 make_desktop_entry boinc_gui BOINC boinc Science /var/lib/boinc
66 }
67
68 pkg_preinst() {
69 enewgroup boinc
70 enewuser boinc -1 -1 /var/lib/boinc boinc
71 }
72
73 pkg_postinst() {
74 echo
75 einfo "You need to attach to a project to do anything useful with boinc."
76 einfo "You can do this by running /etc/init.d/boinc attach"
77 einfo "BOINC The howto for configuration is located at:"
78 einfo "http://boinc.berkeley.edu/anonymous_platform.php"
79 if use server;then
80 echo
81 einfo "You have chosen to enable server mode. this ebuild has installed"
82 einfo "the necessary packages to be a server. You will need to have a"
83 einfo "project. Contact BOINC directly for further information."
84 fi
85 echo
86 }

  ViewVC Help
Powered by ViewVC 1.1.20