# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Automatically configures the /etc/modules.autoload.d/kernel-2.x file with all modules compiled for your system's currently linked kernel" HOMEPAGE="http://www.kempinger.homelinux.net/programs/" SRC_URI="http://www.kempinger.homelinux.net/programs/${P}" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64" IUSE="" DEPEND="" RDEPEND="app-shells/bash sys-apps/findutils" src_install() { install -g wheel -o root "${S}"/"${P}" "${D}"/sbin/"${PN}" || die "error installing script" } pkg_postinst() { einfo "Please run \`${PN}\` after each kernel compile to ensure the correct modules are listed." }