Gentoo Archives: gentoo-commits

From: "Wolfram Schlich (wschlich)" <wschlich@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-block/spindown: metadata.xml ChangeLog spindown-0.2.2.ebuild
Date: Fri, 21 Nov 2008 18:20:44
Message-Id: E1L3acU-0004BJ-MO@stork.gentoo.org
1 wschlich 08/11/21 18:20:42
2
3 Added: metadata.xml ChangeLog spindown-0.2.2.ebuild
4 Log:
5 initial import
6 (Portage version: 2.2_rc13/cvs/Linux 2.6.24-gentoo-r5-1 i686)
7
8 Revision Changes Path
9 1.1 sys-block/spindown/metadata.xml
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-block/spindown/metadata.xml?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-block/spindown/metadata.xml?rev=1.1&content-type=text/plain
13
14 Index: metadata.xml
15 ===================================================================
16 <?xml version="1.0" encoding="UTF-8"?>
17 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
18 <pkgmetadata>
19 <herd>no-herd</herd>
20 <maintainer>
21 <email>wschlich@g.o</email>
22 <name>Wolfram Schlich</name>
23 <description>Primary maintainer</description>
24 </maintainer>
25 </pkgmetadata>
26
27
28
29 1.1 sys-block/spindown/ChangeLog
30
31 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-block/spindown/ChangeLog?rev=1.1&view=markup
32 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-block/spindown/ChangeLog?rev=1.1&content-type=text/plain
33
34 Index: ChangeLog
35 ===================================================================
36 # ChangeLog for sys-block/spindown
37 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
38 # $Header: /var/cvsroot/gentoo-x86/sys-block/spindown/ChangeLog,v 1.1 2008/11/21 18:20:42 wschlich Exp $
39
40 *spindown-0.2.2 (21 Nov 2008)
41
42 21 Nov 2008; Wolfram Schlich <wschlich@g.o>
43 +files/spindown-0.2.2-CFLAGS.patch, +files/spindownd.confd,
44 +files/spindownd.initd, +metadata.xml, +spindown-0.2.2.ebuild:
45 initial import
46
47
48
49
50 1.1 sys-block/spindown/spindown-0.2.2.ebuild
51
52 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-block/spindown/spindown-0.2.2.ebuild?rev=1.1&view=markup
53 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-block/spindown/spindown-0.2.2.ebuild?rev=1.1&content-type=text/plain
54
55 Index: spindown-0.2.2.ebuild
56 ===================================================================
57 # Copyright 1999-2008 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 # $Header: /var/cvsroot/gentoo-x86/sys-block/spindown/spindown-0.2.2.ebuild,v 1.1 2008/11/21 18:20:42 wschlich Exp $
60
61 inherit eutils
62
63 DESCRIPTION="Spindown is a daemon that can spin down idle disks"
64 HOMEPAGE="http://code.google.com/p/spindown"
65 SRC_URI="http://spindown.googlecode.com/files/${P}.tar.gz"
66
67 LICENSE="GPL-3"
68 SLOT="0"
69 KEYWORDS="~amd64 ~x86"
70 IUSE=""
71
72 DEPEND="virtual/libc"
73 RDEPEND="${DEPEND}
74 sys-apps/sg3_utils"
75
76 src_unpack() {
77 unpack ${A}
78 cd "${S}"
79 epatch "${FILESDIR}"/${P}-CFLAGS.patch
80 }
81
82 src_compile() {
83 emake || die "emake failed"
84 }
85
86 src_install() {
87 insinto /etc
88 newins spindown.conf.example spindown.conf
89 newinitd "${FILESDIR}"/spindownd.initd spindownd
90 newconfd "${FILESDIR}"/spindownd.confd spindownd
91 dosbin spindownd
92 dodoc CHANGELOG README TODO spindown.conf.example
93 }
94
95 pkg_postinst() {
96 elog "Before starting spindownd the first time"
97 elog "you should modify /etc/spindown.conf"
98 elog
99 elog "To start spindownd by default"
100 elog "you should add it to the default runlevel:"
101 elog " rc-update add spindown default"
102 }