blob: c219df0f1e0d91ed41913b20eeebfc50476d88e6 (
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
36
37
38
39
40
41
42
43
44
45
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/gentoo-sources/gentoo-sources-2.6.16-r13.ebuild,v 1.3 2006/07/24 14:14:55 gustavoz Exp $
ETYPE="sources"
IUSE=""
inherit kernel-2 eutils
detect_version
detect_arch
KEYWORDS="~ppc ~ppc64"
HOMEPAGE="http://dev.gentoo.org/~dsd/genpatches
http://kernel.org/pub/linux/kernel/people/arnd/patches/"
DESCRIPTION="Full sources including the arnd patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
ARND_VER="${PV/_/-}-arnd${PR//r}"
CELLPATCHES_URI="http://kernel.org/pub/linux/kernel/people/arnd/patches/${ARND_VER}/${ARND_VER}.diff.bz2"
SRC_URI="${KERNEL_URI} ${ARCH_URI} ${CELLPATCHES_URI}"
src_unpack() {
kernel-2_src_unpack
cd ${S}
epatch ${DISTDIR}/${ARND_VER}.diff.bz2
}
pkg_postinst() {
postinst_sources
echo
if [ "${ARCH}" = "sparc" ]; then
if [ x"`cat /proc/openprom/name 2>/dev/null`" \
= x"'SUNW,Ultra-1'" ]; then
einfo "For users with an Enterprise model Ultra 1 using the HME"
einfo "network interface, please emerge the kernel using the"
einfo "following command: USE=ultra1 emerge ${PN}"
fi
fi
einfo "For more info on this patchset, and how to report problems, see:"
einfo "${HOMEPAGE}"
}
|