--- /dev/null
+# ChangeLog for app-sci/foldingathome
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-sci/foldingathome/ChangeLog,v 1.1 2002/11/04 13:25:17 aliz Exp $
+
+*foldingathome-3.14 (04 Nov 2002)
+
+ 04 Nov 2002; Daniel Ahlberg <aliz@gentoo.org> :
+ Initial import. Ebuild contributed by Ryan Shaw <ryan.shaw@stanfordalumni.org> in #9535.
--- /dev/null
+#!/sbin/runscript
+
+start() {
+
+ ebegin "Starting Folding@home"
+ cd /opt/foldingathome
+ ./foldingathome >&/dev/null&
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping Folding@home"
+ killall foldingathome
+ eend $?
+}
+
--- /dev/null
+# 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}
+
+# no version number on this install dir since upgrades will be using same dir
+# (data will be stored here too)
+I="/opt/foldingathome"
+
+DESCRIPTION="Help simulate protein folding at home"
+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 () {
+ mkdir ${P}
+ cp ${DISTDIR}/FAH3Console-Linux.exe ${P}
+}
+
+src_install () {
+ exeinto ${I} ; newexe FAH3Console-Linux.exe foldingathome
+ exeinto /etc/init.d ; newexe ${FILESDIR}/folding-init.d foldingathome
+}
+
+pkg_postinst () {
+ einfo "To run Folding@home in the background at boot:"
+ einfo " rc-update add foldingathome default"
+ einfo ""
+}
+
+pkg_postrm () {
+ einfo "Folding@home data files were not removed."
+ einfo " Remove them manually from ${I}"
+ einfo ""
+}
+