diff options
Diffstat (limited to 'sys-kernel/ppc-sources/ppc-sources-2.4.21-r1.ebuild')
-rw-r--r-- | sys-kernel/ppc-sources/ppc-sources-2.4.21-r1.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys-kernel/ppc-sources/ppc-sources-2.4.21-r1.ebuild b/sys-kernel/ppc-sources/ppc-sources-2.4.21-r1.ebuild index 7d7455b73c69..a9fbc4a132c2 100644 --- a/sys-kernel/ppc-sources/ppc-sources-2.4.21-r1.ebuild +++ b/sys-kernel/ppc-sources/ppc-sources-2.4.21-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ppc-sources/ppc-sources-2.4.21-r1.ebuild,v 1.3 2003/09/29 19:02:14 mholzer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ppc-sources/ppc-sources-2.4.21-r1.ebuild,v 1.4 2003/11/20 07:43:38 lostlogic Exp $ IUSE="build crypt" @@ -18,7 +18,14 @@ IUSE="build crypt" ETYPE="sources" inherit kernel +OKV="`echo ${PV}|sed -e 's:^\([0-9]\+\.[0-9]\+\.[0-9]\+\).*:\1:'`" +EXTRAVERSION="-${PN/-*/}" +[ ! "${PR}" == "r0" ] && EXTRAVERSION="${EXTRAVERSION}-${PR}" +KV="${OKV}${EXTRAVERSION}" OKV="2.4.20" + +S=${WORKDIR}/linux-${KV} + # Documentation on the patches contained in this kernel will be installed # to /usr/share/doc/gentoo-sources-${PV}/patches.txt.gz |