annotate sys-block/noflushd/noflushd-2.8.ebuild @ 314:173762c0fa53

bump to 7u4b06
author holger
date Thu, 29 Dec 2011 17:21:27 +0100
parents 8679a9a2a216
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
280
8679a9a2a216 updated ebuild for latest noflush-2.8
holger
parents:
diff changeset
1 # Copyright 1999-2009 Gentoo Foundation
8679a9a2a216 updated ebuild for latest noflush-2.8
holger
parents:
diff changeset
2 # Distributed under the terms of the GNU General Public License v2
8679a9a2a216 updated ebuild for latest noflush-2.8
holger
parents:
diff changeset
3 # $Header: /var/cvsroot/gentoo-x86/sys-block/noflushd/noflushd-2.7.5.ebuild,v 1.2 2009/04/11 15:18:15 vapier Exp $
8679a9a2a216 updated ebuild for latest noflush-2.8
holger
parents:
diff changeset
4
8679a9a2a216 updated ebuild for latest noflush-2.8
holger
parents:
diff changeset
5 DESCRIPTION="A daemon to spin down your disks and force accesses to be cached"
8679a9a2a216 updated ebuild for latest noflush-2.8
holger
parents:
diff changeset
6 HOMEPAGE="http://noflushd.sourceforge.net/"
8679a9a2a216 updated ebuild for latest noflush-2.8
holger
parents:
diff changeset
7 SRC_URI="mirror://sourceforge/noflushd/${PN}-${PV}.tar.gz"
8679a9a2a216 updated ebuild for latest noflush-2.8
holger
parents:
diff changeset
8
8679a9a2a216 updated ebuild for latest noflush-2.8
holger
parents:
diff changeset
9 LICENSE="GPL-2"
8679a9a2a216 updated ebuild for latest noflush-2.8
holger
parents:
diff changeset
10 SLOT="0"
8679a9a2a216 updated ebuild for latest noflush-2.8
holger
parents:
diff changeset
11 KEYWORDS="~amd64 ~ppc ~x86"
8679a9a2a216 updated ebuild for latest noflush-2.8
holger
parents:
diff changeset
12 IUSE=""
8679a9a2a216 updated ebuild for latest noflush-2.8
holger
parents:
diff changeset
13
8679a9a2a216 updated ebuild for latest noflush-2.8
holger
parents:
diff changeset
14 src_compile() {
8679a9a2a216 updated ebuild for latest noflush-2.8
holger
parents:
diff changeset
15 econf \
8679a9a2a216 updated ebuild for latest noflush-2.8
holger
parents:
diff changeset
16 --with-docdir=/usr/share/doc/${PF} \
8679a9a2a216 updated ebuild for latest noflush-2.8
holger
parents:
diff changeset
17 --with-initdir=/etc/init.d
8679a9a2a216 updated ebuild for latest noflush-2.8
holger
parents:
diff changeset
18 emake || die
8679a9a2a216 updated ebuild for latest noflush-2.8
holger
parents:
diff changeset
19 }
8679a9a2a216 updated ebuild for latest noflush-2.8
holger
parents:
diff changeset
20
8679a9a2a216 updated ebuild for latest noflush-2.8
holger
parents:
diff changeset
21 src_install() {
8679a9a2a216 updated ebuild for latest noflush-2.8
holger
parents:
diff changeset
22 emake install DESTDIR="${D}" || die
8679a9a2a216 updated ebuild for latest noflush-2.8
holger
parents:
diff changeset
23 dodoc NEWS
8679a9a2a216 updated ebuild for latest noflush-2.8
holger
parents:
diff changeset
24 prepalldocs
8679a9a2a216 updated ebuild for latest noflush-2.8
holger
parents:
diff changeset
25
8679a9a2a216 updated ebuild for latest noflush-2.8
holger
parents:
diff changeset
26 newinitd "${FILESDIR}"/noflushd.rc6 noflushd
8679a9a2a216 updated ebuild for latest noflush-2.8
holger
parents:
diff changeset
27 newconfd "${FILESDIR}"/noflushd.confd noflushd
8679a9a2a216 updated ebuild for latest noflush-2.8
holger
parents:
diff changeset
28 }
8679a9a2a216 updated ebuild for latest noflush-2.8
holger
parents:
diff changeset
29
8679a9a2a216 updated ebuild for latest noflush-2.8
holger
parents:
diff changeset
30 pkg_postinst() {
8679a9a2a216 updated ebuild for latest noflush-2.8
holger
parents:
diff changeset
31 ewarn "noflushd works with IDE devices only."
8679a9a2a216 updated ebuild for latest noflush-2.8
holger
parents:
diff changeset
32 ewarn "It has possible problems with reiserfs, too."
8679a9a2a216 updated ebuild for latest noflush-2.8
holger
parents:
diff changeset
33 }