Lines 3-10
Link Here
|
3 |
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/gentoo-sources/gentoo-sources-2.6.11-r9.ebuild,v 1.2 2005/05/18 11:20:45 dsd Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/gentoo-sources/gentoo-sources-2.6.11-r9.ebuild,v 1.2 2005/05/18 11:20:45 dsd Exp $ |
4 |
|
4 |
|
5 |
ETYPE="sources" |
5 |
ETYPE="sources" |
6 |
IUSE="ultra1" |
6 |
IUSE="ultra1 suspend2" |
7 |
inherit kernel-2 |
7 |
inherit kernel-2 eutils |
8 |
detect_version |
8 |
detect_version |
9 |
detect_arch |
9 |
detect_arch |
10 |
|
10 |
|
Lines 13-18
GPV="11.12"
Link Here
|
13 |
GPV_SRC="mirror://gentoo/genpatches-${KV_MAJOR}.${KV_MINOR}-${GPV}-base.tar.bz2 |
13 |
GPV_SRC="mirror://gentoo/genpatches-${KV_MAJOR}.${KV_MINOR}-${GPV}-base.tar.bz2 |
14 |
mirror://gentoo/genpatches-${KV_MAJOR}.${KV_MINOR}-${GPV}-extras.tar.bz2" |
14 |
mirror://gentoo/genpatches-${KV_MAJOR}.${KV_MINOR}-${GPV}-extras.tar.bz2" |
15 |
|
15 |
|
|
|
16 |
SUSPEND2_VERSION="2.1.9" |
17 |
SUSPEND2_TARGET="${PV/_/-}" |
18 |
SUSPEND2_SRC="software-suspend-${SUSPEND2_VERSION}-for-${SUSPEND2_TARGET}" |
19 |
SUSPEND2_URI="http://www.suspend2.net/downloads/all/${SUSPEND2_SRC}.tar.bz2" |
20 |
|
16 |
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 x86" |
21 |
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 x86" |
17 |
|
22 |
|
18 |
HOMEPAGE="http://dev.gentoo.org/~dsd/gentoo-sources" |
23 |
HOMEPAGE="http://dev.gentoo.org/~dsd/gentoo-sources" |
Lines 22-29
UNIPATCH_LIST="${DISTDIR}/genpatches-${K
Link Here
|
22 |
UNIPATCH_DOCS="${WORKDIR}/patches/genpatches-${KV_MAJOR}.${KV_MINOR}-${GPV}/0000_README" |
27 |
UNIPATCH_DOCS="${WORKDIR}/patches/genpatches-${KV_MAJOR}.${KV_MINOR}-${GPV}/0000_README" |
23 |
|
28 |
|
24 |
DESCRIPTION="Full sources including the gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" |
29 |
DESCRIPTION="Full sources including the gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" |
25 |
SRC_URI="${KERNEL_URI} ${GPV_SRC} ${ARCH_URI}" |
30 |
SRC_URI="${KERNEL_URI} ${GPV_SRC} ${ARCH_URI} |
|
|
31 |
suspend2? ( ${SUSPEND2_URI} )" |
32 |
|
33 |
src_unpack() { |
34 |
kernel-2_src_unpack |
26 |
|
35 |
|
|
|
36 |
if use suspend2; then |
37 |
cd ${WORKDIR} |
38 |
unpack ${SUSPEND2_SRC}.tar.bz2 |
39 |
|
40 |
cd ${S} |
41 |
EPATCH_EXCLUDE="apply unapply ToDo" \ |
42 |
EPATCH_FORCE="yes" \ |
43 |
EPATCH_SUFFIX="" \ |
44 |
EPATCH_OPTS="-p1" \ |
45 |
epatch ${WORKDIR}/${SUSPEND2_SRC} |
46 |
fi |
47 |
} |
48 |
|
27 |
pkg_setup() { |
49 |
pkg_setup() { |
28 |
if use sparc; then |
50 |
if use sparc; then |
29 |
# hme lockup hack on ultra1 |
51 |
# hme lockup hack on ultra1 |