# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="Ureadahead" HOMEPAGE="https://launchpad.net/ureadahead" SRC_URI="http://launchpad.net/ureadahead/trunk/0.100.0/+download/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~arch" DEPEND="dev-libs/libnih" RDEPEND="${DEPEND}" src_install() { emake DESTDIR="${D}" install || die "emake install failed" newinitd "${FILESDIR}"/ureadahead.rc ureadahead || die dodir /var/lib/ureadahead dodir /var/run/ureadahead } pkg_postinst() { elog "ureadahead need some kernel tuning to work" elog "Kernel hacking -> Tracers (FTRACE)" elog "Kernel hacking -> Tracers -> Trace process context switches and events (ENABLE_DEFAULT_TRACERS)" elog "which should also select 'Kernel hacking -> Debug Filesystem' (DEBUG_FS))" }