summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/ppc-sources-dev/ppc-sources-dev-2.4.21.ebuild')
-rw-r--r--sys-kernel/ppc-sources-dev/ppc-sources-dev-2.4.21.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys-kernel/ppc-sources-dev/ppc-sources-dev-2.4.21.ebuild b/sys-kernel/ppc-sources-dev/ppc-sources-dev-2.4.21.ebuild
index 4406108e208f..47d08808ef56 100644
--- a/sys-kernel/ppc-sources-dev/ppc-sources-dev-2.4.21.ebuild
+++ b/sys-kernel/ppc-sources-dev/ppc-sources-dev-2.4.21.ebuild
@@ -1,14 +1,17 @@
# 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-dev/ppc-sources-dev-2.4.21.ebuild,v 1.2 2003/09/02 12:46:39 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ppc-sources-dev/ppc-sources-dev-2.4.21.ebuild,v 1.3 2003/11/20 07:43:38 lostlogic Exp $
#OKV=original kernel version, KV=patched kernel version. They can be the same.
ETYPE="sources"
+IUSE="build crypt"
inherit kernel
-OKV="2.4.21"
-KV=2.4.21-ppc-dev
+OKV="`echo ${PV}|sed -e 's:^\([0-9]\+\.[0-9]\+\.[0-9]\+\).*:\1:'`"
+EXTRAVERSION="-ppc-dev"
+[ ! "${PR}" == "r0" ] && EXTRAVERSION="${EXTRAVERSION}-${PR}"
+KV="${OKV}${EXTRAVERSION}"
S=${WORKDIR}/linux-${KV}
@@ -39,7 +42,6 @@ HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/"
LICENSE="GPL-2"
SLOT="${KV}"
KEYWORDS="~ppc -x86 -sparc -mips -hppa -alpha -arm"
-IUSE="build crypt"
src_unpack() {