Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 252033
Collapse All | Expand All

(-)foldingathome-6.02-r1.ebuild.orig (-9 / +7 lines)
Lines 1-4 Link Here
1
# Copyright 1999-2008 Gentoo Foundation
1
# Copyright 1999-2010 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-biology/foldingathome/foldingathome-6.02-r1.ebuild,v 1.2 2008/11/22 22:04:33 je_fro Exp $
3
# $Header: /var/cvsroot/gentoo-x86/sci-biology/foldingathome/foldingathome-6.02-r1.ebuild,v 1.2 2008/11/22 22:04:33 je_fro Exp $
4
4
Lines 12-34 Link Here
12
12
13
LICENSE="folding-at-home"
13
LICENSE="folding-at-home"
14
SLOT="0"
14
SLOT="0"
15
16
KEYWORDS="~amd64 ~x86"
15
KEYWORDS="~amd64 ~x86"
17
IUSE=""
16
IUSE=""
18
17
19
DEPEND=">=sys-libs/glibc-2.3.0
18
DEPEND=">=sys-libs/glibc-2.3.0
20
		amd64? ( app-emulation/emul-linux-x86-baselibs )"
19
		amd64? ( app-emulation/emul-linux-x86-baselibs )"
21
22
RDEPEND=""
20
RDEPEND=""
23
21
24
S="${WORKDIR}"
22
S="${WORKDIR}"
25
23
24
QA_PRESTRIPPED="opt/foldingathome/fah6"
25
26
src_install() {
26
src_install() {
27
	exeinto ${I}
27
	exeinto ${I}
28
	newexe "${FILESDIR}"/${PV}/initfolding initfolding
28
	newexe "${FILESDIR}"/${PV}/initfolding initfolding || die
29
	doexe fah6 mpiexec
29
	doexe fah6 mpiexec || die
30
	newconfd "${FILESDIR}"/${PV}/folding-conf.d foldingathome
30
	newconfd "${FILESDIR}"/${PV}/folding-conf.d foldingathome || die
31
	newinitd "${FILESDIR}"/${PV}/fah-init foldingathome
31
	newinitd "${FILESDIR}"/${PV}/fah-init foldingathome || die
32
}
32
}
33
33
34
pkg_preinst() {
34
pkg_preinst() {
Lines 46-56 Link Here
46
	einfo ""
46
	einfo ""
47
	einfo "I encourage you to acquire a username and join team 36480."
47
	einfo "I encourage you to acquire a username and join team 36480."
48
	einfo "http://folding.stanford.edu/English/Download#ntoc2"
48
	einfo "http://folding.stanford.edu/English/Download#ntoc2"
49
	einfo ""
50
}
49
}
51
50
52
pkg_postrm() {
51
pkg_postrm() {
53
	einfo "Folding@home data files were not removed."
52
	einfo "Folding@home data files were not removed."
54
	einfo " Remove them manually from ${I}"
53
	einfo " Remove them manually from ${I}"
55
	einfo ""
56
}
54
}

Return to bug 252033