diff options
author | Bryon Roche <kain@gentoo.org> | 2003-05-30 01:52:40 +0000 |
---|---|---|
committer | Bryon Roche <kain@gentoo.org> | 2003-05-30 01:52:40 +0000 |
commit | c0aee8098980e26b35bf89844f7d0ae362dfa821 (patch) | |
tree | 22133847f972687778b288dd8e217bf2ab7d95df /eclass/kernel.eclass | |
parent | xfs initscript update (diff) | |
download | gentoo-2-c0aee8098980e26b35bf89844f7d0ae362dfa821.tar.gz gentoo-2-c0aee8098980e26b35bf89844f7d0ae362dfa821.tar.bz2 gentoo-2-c0aee8098980e26b35bf89844f7d0ae362dfa821.zip |
naming fix in the regex for -headers and other variously named kernel ebuilds
Diffstat (limited to 'eclass/kernel.eclass')
-rw-r--r-- | eclass/kernel.eclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/kernel.eclass b/eclass/kernel.eclass index f1a7ce6e9b6e..44f9bb8bb806 100644 --- a/eclass/kernel.eclass +++ b/eclass/kernel.eclass @@ -1,10 +1,11 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kernel.eclass,v 1.25 2003/03/24 23:34:31 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kernel.eclass,v 1.26 2003/05/30 01:52:40 kain Exp $ # # This eclass contains the common functions to be used by all lostlogic # based kernel ebuilds # with error handling contributions by gerk, and small fixes by zwelch +# small naming fix by kain ECLASS=kernel EXPORT_FUNCTIONS src_unpack src_compile src_install pkg_preinst pkg_postinst @@ -12,7 +13,7 @@ EXPORT_FUNCTIONS src_unpack src_compile src_install pkg_preinst pkg_postinst # OKV=original kernel version, KV=patched kernel version. They can be the same. OKV="`echo ${PV}|sed -e 's:^\([0-9]\+\.[0-9]\+\.[0-9]\+\).*:\1:'`" EXTRAVERSION="`echo ${PN}-${PV}-${PR} | \ - sed -e 's:^\(.*\)-sources-[0-9]\+\.[0-9]\+\.[0-9]\+.r*\([0-9]\+\)\(_[^-_]\+\)\?\(-r[0-9]\+\)\?$:-\1-r\2\3:'`" + sed -e 's:^\(.*\)-\(.*\)-[0-9]\+\.[0-9]\+\.[0-9]\+.r*\([0-9]\+\)\(_[^-_]\+\)\?\(-r[0-9]\+\)\?$:-\1-r\3\4:'`" KV=${OKV}${EXTRAVERSION} S=${WORKDIR}/linux-${KV} HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/" |