/[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.5 - (show annotations) (download)
Wed Mar 13 18:04:23 2013 UTC (5 years, 6 months ago) by pinkbyte
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Remove old versions

(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)

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

  ViewVC Help
Powered by ViewVC 1.1.20