1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION="Spindown is a daemon that can spin down idle disks"
7 HOMEPAGE="https://code.google.com/p/spindown"
8 SRC_URI="https://spindown.googlecode.com/files/${P}.tar.gz"
12 KEYWORDS="~amd64 ~x86"
20 eapply "${FILESDIR}"/${P}-CFLAGS-LDFLAGS.patch
30 newins spindown.conf.example spindown.conf
31 newinitd "${FILESDIR}"/spindownd.initd-r1 spindownd
32 newconfd "${FILESDIR}"/spindownd.confd-r1 spindownd
34 dodoc CHANGELOG README TODO spindown.conf.example
38 elog "Before starting spindownd the first time"
39 elog "you should modify /etc/spindown.conf"
41 elog "To start spindownd by default"
42 elog "you should add it to the default runlevel:"
43 elog " rc-update add spindownd default"