/[gentoo-x86]/eclass/kernel-2.eclass
Gentoo

Diff of /eclass/kernel-2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.56 Revision 1.57
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.56 2004/11/26 16:01:46 johnm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.57 2004/11/29 12:42:21 johnm Exp $
4 4
5# Description: kernel.eclass rewrite for a clean base regarding the 2.6 5# Description: kernel.eclass rewrite for a clean base regarding the 2.6
6# series of kernel with back-compatibility for 2.4 6# series of kernel with back-compatibility for 2.4
7# 7#
8# Maintainer: John Mylchreest <johnm@gentoo.org> 8# Maintainer: John Mylchreest <johnm@gentoo.org>
48EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install pkg_preinst pkg_postinst 48EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install pkg_preinst pkg_postinst
49 49
50HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/" 50HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/"
51LICENSE="GPL-2" 51LICENSE="GPL-2"
52IUSE="${IUSE} build doc" 52IUSE="${IUSE} build doc"
53SLOT="${KV_FULL}" 53SLOT="${PV}"
54 54
55# Grab kernel version from KV_FULL 55# Grab kernel version from KV_FULL
56KV_MAJOR=$(echo ${KV_FULL} | cut -d. -f1) 56KV_MAJOR=$(echo ${KV_FULL} | cut -d. -f1)
57KV_MINOR=$(echo ${KV_FULL} | cut -d. -f2) 57KV_MINOR=$(echo ${KV_FULL} | cut -d. -f2)
58KV_PATCH=$(echo ${KV_FULL} | cut -d. -f3-) 58KV_PATCH=$(echo ${KV_FULL} | cut -d. -f3-)

Legend:
Removed from v.1.56  
changed lines
  Added in v.1.57

  ViewVC Help
Powered by ViewVC 1.1.20