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

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

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

Revision 1.3 Revision 1.4
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2013 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/sys-kernel/openvz-sources/Attic/openvz-sources-2.6.32.11.1.ebuild,v 1.3 2011/12/12 05:24:44 pva Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openvz-sources/Attic/openvz-sources-2.6.32.11.1.ebuild,v 1.4 2013/03/09 21:07:32 tomwij Exp $
4
5EAPI="5"
4 6
5inherit versionator 7inherit versionator
6 8
7# Upstream uses string to version their releases. To make portage version 9# 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 10# comparisment working we have to use numbers instead of strings, that is 4th
28# ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH} should succeed. 30# ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH} should succeed.
29KV_MAJOR=$(get_version_component_range 1 ${OKV}) 31KV_MAJOR=$(get_version_component_range 1 ${OKV})
30KV_MINOR=$(get_version_component_range 2 ${OKV}) 32KV_MINOR=$(get_version_component_range 2 ${OKV})
31KV_PATCH=$(get_version_component_range 3 ${OKV}) 33KV_PATCH=$(get_version_component_range 3 ${OKV})
32 34
33KERNEL_URI="mirror://kernel/linux/kernel/v${KV_MAJOR}.${KV_MINOR}/linux-${OKV}.tar.bz2" 35KERNEL_URI="mirror://kernel/linux/kernel/v${KV_MAJOR}.${KV_MINOR}/linux-${OKV}.tar.xz"
34 36
35inherit kernel-2 37inherit kernel-2
36 38
37SLOT=${CKV}-${OVZ_KV} 39SLOT=${CKV}-${OVZ_KV}
38if [[ ${PR} != r0 ]]; then 40if [[ ${PR} != r0 ]]; then

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20