blob: e00699c17afe56fd6bf91562fcfd3de8ea391bab [file] [log] [blame]
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
inherit eutils
DESCRIPTION="Ureadahead - Read files in advance during boot"
HOMEPAGE="https://launchpad.net/ureadahead"
SRC_URI="http://launchpad.net/ureadahead/trunk/${PV}/+download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
RDEPEND="sys-apps/util-linux
>=sys-fs/e2fsprogs-1.41
sys-libs/libnih"
DEPEND="${RDEPEND}
dev-util/pkgconfig
sys-devel/gettext"
src_prepare() {
epatch "${FILESDIR}"/${P}-11.patch # Downloaded from upstream
}
src_configure() {
econf --sbindir=/sbin
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
rm -r "${D}/etc/init"
keepdir /var/lib/ureadahead
}