From 60f2d1395802dc96e91600ca36c3cf6db3b74a76 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 11 Apr 2009 15:18:15 +0000 Subject: Force data/init dir sanity #265636 by Jeremy Stent. (Portage version: 2.2_rc28/cvs/Linux x86_64) --- sys-block/noflushd/noflushd-2.7.5.ebuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'sys-block/noflushd/noflushd-2.7.5.ebuild') diff --git a/sys-block/noflushd/noflushd-2.7.5.ebuild b/sys-block/noflushd/noflushd-2.7.5.ebuild index 2977d4102c71..0800a1c40624 100644 --- a/sys-block/noflushd/noflushd-2.7.5.ebuild +++ b/sys-block/noflushd/noflushd-2.7.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/noflushd/noflushd-2.7.5.ebuild,v 1.1 2009/02/27 01:48:27 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/noflushd/noflushd-2.7.5.ebuild,v 1.2 2009/04/11 15:18:15 vapier Exp $ DESCRIPTION="A daemon to spin down your disks and force accesses to be cached" HOMEPAGE="http://noflushd.sourceforge.net/" @@ -11,9 +11,15 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="" +src_compile() { + econf \ + --with-docdir=/usr/share/doc/${PF} \ + --with-initdir=/etc/init.d + emake || die +} + src_install() { emake install DESTDIR="${D}" || die - mv "${D}"/usr/share/doc/{${PN},${PF}} || die dodoc NEWS prepalldocs -- cgit v1.2.3-65-gdbad