summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Schlich <wschlich@gentoo.org>2009-03-06 16:22:47 +0000
committerWolfram Schlich <wschlich@gentoo.org>2009-03-06 16:22:47 +0000
commit8e96625f487be2fec5f1503d860a0d23710a1444 (patch)
tree4dba119514444e397e989c17545555ac808d23ef /sys-block/spindown
parentMarking gtkhtml-3.24.5 ppc for bug 260063 (diff)
downloadgentoo-2-8e96625f487be2fec5f1503d860a0d23710a1444.tar.gz
gentoo-2-8e96625f487be2fec5f1503d860a0d23710a1444.tar.bz2
gentoo-2-8e96625f487be2fec5f1503d860a0d23710a1444.zip
version bump
(Portage version: 2.2_rc23/cvs/Linux i686)
Diffstat (limited to 'sys-block/spindown')
-rw-r--r--sys-block/spindown/ChangeLog9
-rw-r--r--sys-block/spindown/spindown-0.3.0.ebuild46
2 files changed, 53 insertions, 2 deletions
diff --git a/sys-block/spindown/ChangeLog b/sys-block/spindown/ChangeLog
index 8c8c2b343d8b..a05033eae571 100644
--- a/sys-block/spindown/ChangeLog
+++ b/sys-block/spindown/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-block/spindown
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/spindown/ChangeLog,v 1.2 2008/11/27 14:25:25 wschlich Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/spindown/ChangeLog,v 1.3 2009/03/06 16:22:47 wschlich Exp $
+
+*spindown-0.3.0 (06 Mar 2009)
+
+ 06 Mar 2009; Wolfram Schlich <wschlich@gentoo.org> +spindown-0.3.0.ebuild:
+ version bump
27 Nov 2008; Wolfram Schlich <wschlich@gentoo.org> spindown-0.2.2.ebuild:
fix typo
diff --git a/sys-block/spindown/spindown-0.3.0.ebuild b/sys-block/spindown/spindown-0.3.0.ebuild
new file mode 100644
index 000000000000..bbe6ffbd9d4c
--- /dev/null
+++ b/sys-block/spindown/spindown-0.3.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/spindown/spindown-0.3.0.ebuild,v 1.1 2009/03/06 16:22:47 wschlich Exp $
+
+inherit eutils
+
+DESCRIPTION="Spindown is a daemon that can spin down idle disks"
+HOMEPAGE="http://code.google.com/p/spindown"
+SRC_URI="http://spindown.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="virtual/libc"
+RDEPEND="${DEPEND}
+ sys-apps/sg3_utils"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-0.2.2-CFLAGS.patch
+}
+
+src_compile() {
+ emake || die "emake failed"
+}
+
+src_install() {
+ insinto /etc
+ newins spindown.conf.example spindown.conf
+ newinitd "${FILESDIR}"/spindownd.initd spindownd
+ newconfd "${FILESDIR}"/spindownd.confd spindownd
+ dosbin spindownd
+ dodoc CHANGELOG README TODO spindown.conf.example
+}
+
+pkg_postinst() {
+ elog "Before starting spindownd the first time"
+ elog "you should modify /etc/spindown.conf"
+ elog
+ elog "To start spindownd by default"
+ elog "you should add it to the default runlevel:"
+ elog " rc-update add spindownd default"
+}