diff options
Diffstat (limited to 'sys-kernel/genkernel/genkernel-3.4.36.ebuild')
-rw-r--r-- | sys-kernel/genkernel/genkernel-3.4.36.ebuild | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/sys-kernel/genkernel/genkernel-3.4.36.ebuild b/sys-kernel/genkernel/genkernel-3.4.36.ebuild index 3ad8d4be60c4..69c3fa156320 100644 --- a/sys-kernel/genkernel/genkernel-3.4.36.ebuild +++ b/sys-kernel/genkernel/genkernel-3.4.36.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/genkernel-3.4.36.ebuild,v 1.4 2012/07/26 20:39:22 sping Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/genkernel-3.4.36.ebuild,v 1.5 2012/08/14 15:56:50 ryao Exp $ # genkernel-9999 -> latest Git branch "master" # genkernel-VERSION -> normal genkernel release @@ -73,17 +73,12 @@ src_unpack() { else unpack ${P}.tar.bz2 fi - use selinux && sed -i 's/###//g' "${S}"/gen_compile.sh } -src_compile() { - if [[ ${PV} == 9999* ]]; then - emake || die - fi -} +src_prepare() { + use selinux && sed -i 's/###//g' "${S}"/gen_compile.sh -src_install() { - # This block updates genkernel.conf + # Update software.sh sed \ -e "s:VERSION_BUSYBOX:$VERSION_BUSYBOX:" \ -e "s:VERSION_MDADM:$VERSION_MDADM:" \ @@ -96,6 +91,15 @@ src_install() { "${S}"/genkernel.conf > "${T}"/genkernel.conf \ || die "Could not adjust versions" insinto /etc +} + +src_compile() { + if [[ ${PV} == 9999* ]]; then + emake || die + fi +} + +src_install() { doins "${T}"/genkernel.conf || die "doins genkernel.conf" doman genkernel.8 || die "doman" |