diff options
Diffstat (limited to 'sys-kernel/gentoo-sources/gentoo-sources-2.4.19-r10.ebuild')
-rw-r--r-- | sys-kernel/gentoo-sources/gentoo-sources-2.4.19-r10.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys-kernel/gentoo-sources/gentoo-sources-2.4.19-r10.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-2.4.19-r10.ebuild index 659bc1746809..cd38fba77e9b 100644 --- a/sys-kernel/gentoo-sources/gentoo-sources-2.4.19-r10.ebuild +++ b/sys-kernel/gentoo-sources/gentoo-sources-2.4.19-r10.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/gentoo-sources/gentoo-sources-2.4.19-r10.ebuild,v 1.12 2003/09/07 18:54:18 mholzer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/gentoo-sources/gentoo-sources-2.4.19-r10.ebuild,v 1.13 2003/11/20 07:43:38 lostlogic Exp $ IUSE="build crypt xfs acpi4linux" @@ -23,6 +23,13 @@ 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}" + +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 |