/[gentoo-x86]/sys-kernel/openvz-sources/openvz-sources-2.6.32.11.1.ebuild
Gentoo

Contents of /sys-kernel/openvz-sources/openvz-sources-2.6.32.11.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Dec 12 05:24:44 2011 UTC (2 years, 9 months ago) by pva
Branch: MAIN
Changes since 1.2: +2 -2 lines
Version bump. Drop old. Cleanup - made sources again installable. Fixed build issue in 2.6.32 with new toolchain, bug #388103 wrt Aleksandr Zagzin and Peter Gantner.

(Portage version: 2.1.10.39/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-kernel/openvz-sources/openvz-sources-2.6.32.11.1.ebuild,v 1.2 2011/04/01 18:19:43 pva Exp $
4
5 inherit versionator
6
7 # Upstream uses string to version their releases. To make portage version
8 # comparisment working we have to use numbers instead of strings, that is 4th
9 # component of our version. So we have aivazovsky - 1, briullov - 2 and so on.
10 # Keep this string on top since we have to modify it each new release.
11 OVZ_CODENAME="feoktistov"
12 OVZ_CODENAME_SUBRELEASE=$(get_version_component_range 5)
13
14 OVZ_KV="${OVZ_CODENAME}.${OVZ_CODENAME_SUBRELEASE}"
15
16 ETYPE="sources"
17
18 CKV=$(get_version_component_range 1-3)
19 OKV=${OKV:-${CKV}}
20 EXTRAVERSION=-${PN/-*}-${OVZ_KV}
21 KV_FULL=${CKV}${EXTRAVERSION}
22 if [[ ${PR} != r0 ]]; then
23 KV_FULL+=-${PR}
24 EXTRAVERSION+=-${PR}
25 fi
26 S=${WORKDIR}/linux-${KV_FULL}
27
28 # ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH} should succeed.
29 KV_MAJOR=$(get_version_component_range 1 ${OKV})
30 KV_MINOR=$(get_version_component_range 2 ${OKV})
31 KV_PATCH=$(get_version_component_range 3 ${OKV})
32
33 KERNEL_URI="mirror://kernel/linux/kernel/v${KV_MAJOR}.${KV_MINOR}/linux-${OKV}.tar.bz2"
34
35 inherit kernel-2
36
37 SLOT=${CKV}-${OVZ_KV}
38 if [[ ${PR} != r0 ]]; then
39 SLOT+=-${PR}
40 fi
41
42 KEYWORDS="amd64 ~ppc64 ~sparc x86"
43 IUSE=""
44
45 DESCRIPTION="Kernel sources with OpenVZ patchset"
46 HOMEPAGE="http://www.openvz.org"
47 SRC_URI="${KERNEL_URI} ${ARCH_URI}
48 http://download.openvz.org/kernel/branches/${CKV}/${CKV}-${OVZ_KV}/patches/patch-${OVZ_KV}-combined.gz"
49
50 UNIPATCH_STRICTORDER=1
51 UNIPATCH_LIST="${DISTDIR}/patch-${OVZ_KV}-combined.gz
52 ${FILESDIR}/${PN}-2.6.32.10.1-cpt_process.c-build.patch
53 "
54
55 K_EXTRAEINFO="For more information about this kernel take a look at:
56 http://wiki.openvz.org/Download/kernel/${CKV}/${CKV}-${OVZ_KV}"

  ViewVC Help
Powered by ViewVC 1.1.20