# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=4 inherit eutils git-2 DESCRIPTION="Designed for remove broken kernels from /boot and source_dirs/modules_dirs" HOMEPAGE="https://github.com/megabaks/kernel-cleaner" EGIT_REPO_URI="git://github.com/megabaks/${PN}.git" LICENSE="GPL-3" SLOT="0" KEYWORDS="" IUSE="+parallel" DEPEND="virtual/linux-sources app-shells/bash sys-apps/gawk sys-apps/portage" RDEPEND="${DEPEND} parallel? ( sys-process/parallel )" src_install(){ if ! use parallel;then epatch no_parallel.patch fi dosbin kernel-cleaner insinto /etc doins kernel-cleaner.conf }