# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/foldingathome/foldingathome-3.14.ebuild,v 1.1 2002/11/04 13:25:17 aliz Exp $
-
-S=${WORKDIR}/${P}
+# $Header: /var/cvsroot/gentoo-x86/app-sci/foldingathome/foldingathome-3.14.ebuild,v 1.2 2002/11/06 14:49:06 vapier Exp $
# no version number on this install dir since upgrades will be using same dir
# (data will be stored here too)
HOMEPAGE="http://folding.stanford.edu/"
SRC_URI="http://www.stanford.edu/group/pandegroup/release/FAH3Console-Linux.exe"
-DEPEND=">=sys-apps/baselayout-1.8.0"
-RDEPEND="${DEPEND}"
-
SLOT="0"
LICENSE="as-is"
KEYWORDS="~x86"
-src_unpack () {
+DEPEND=">=sys-apps/baselayout-1.8.0"
+S="${WORKDIR}/${P}"
+
+src_unpack() {
mkdir ${P}
cp ${DISTDIR}/FAH3Console-Linux.exe ${P}
}
-src_install () {
+src_install() {
exeinto ${I} ; newexe FAH3Console-Linux.exe foldingathome
exeinto /etc/init.d ; newexe ${FILESDIR}/folding-init.d foldingathome
}
-pkg_postinst () {
+pkg_postinst() {
einfo "To run Folding@home in the background at boot:"
einfo " rc-update add foldingathome default"
einfo ""
}
-pkg_postrm () {
+pkg_postrm() {
einfo "Folding@home data files were not removed."
einfo " Remove them manually from ${I}"
einfo ""
}
-