blob: 2a8b1b2c71ea70f886f64475ed74b1aef64ff8a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/xen-sources/xen-sources-2.6.21.ebuild,v 1.3 2008/08/31 17:44:43 rbu Exp $
ETYPE="sources"
UNIPATCH_STRICTORDER="1"
K_NOUSENAME="yes"
K_PREPATCHED="yes"
inherit kernel-2
detect_version
EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git"
EGIT_BRANCH="xen/dom0/hackery"
inherit git
DESCRIPTION="Full sources for a dom0/domU Linux kernel to run under Xen"
HOMEPAGE="http://xen.org/"
IUSE=""
KEYWORDS=""
DEPEND="${DEPEND} >=sys-devel/binutils-2.17"
src_unpack() {
git_src_unpack
cd "${EGIT_STORE_DIR}/${EGIT_PROJECT}"
local last_commit_abbrev=$(git log -n 1 --no-color --pretty='format:%h')
EXTRAVERSION="-xen.git-${last_commit_abbrev}"
S=${WORKDIR}/${EGIT_PROJECT}
cd "${S}"
unpack_set_extraversion
}
|