blob: 9a64237181a4e4a65c7dd1bb512c0ce8156486a5 (
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
46
47
48
49
50
51
52
53
54
55
56
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/tuxonice-sources/tuxonice-sources-2.6.37.ebuild,v 1.1 2011/01/24 16:21:12 scarabeus Exp $
ETYPE="sources"
K_WANT_GENPATCHES="base"
K_GENPATCHES_VER="1"
K_SECURITY_UNSUPPORTED="1"
UNIPATCH_STRICTORDER="1"
CKV="${PV/_p[0-9]*}"
inherit kernel-2
detect_version
detect_arch
DESCRIPTION="TuxOnIce + Zen Patches + Gentoo patchset sources"
HOMEPAGE="http://dev.gentoo.org/~mpagano/genpatches/ http://www.tuxonice.net \
http://zen-kernel.org"
IUSE=""
TUXONICE_SNAPSHOT=""
TUXONICE_VERSION="3.2-rc2"
TUXONICE_TARGET="2.6.36"
if [[ -n "${TUXONICE_SNAPSHOT}" ]]; then
TUXONICE_SRC="current-tuxonice-for-${TUXONICE_TARGET}.patch_${TUXONICE_SNAPSHOT}"
else
TUXONICE_SRC="tuxonice-${TUXONICE_VERSION}-for-${TUXONICE_TARGET}.patch"
fi
TUXONICE_URI="http://www.tuxonice.net/files/${TUXONICE_SRC}.bz2"
ZEN_FILE="v${PV}-zen_master.diff.gz"
ZEN_URI="http://downloads.zen-kernel.org/snapshots/zen-stable/diffs/${ZEN_FILE}"
UNIPATCH_LIST="${DISTDIR}/${ZEN_FILE} ${DISTDIR}/${TUXONICE_SRC}.bz2"
#UNIPATCH_LIST="${DISTDIR}/${ZEN_FILE}"
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI} ${ZEN_URI}"
KEYWORDS=""
RDEPEND="${RDEPEND}
>=sys-apps/tuxonice-userui-1.0
|| ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils )"
K_EXTRAELOG="If there are issues with this kernel, please direct any
queries to the tuxonice-users mailing list:
http://lists.tuxonice.net/mailman/listinfo/tuxonice-users/"
S="${WORKDIR}"/"linux-${PV/_p*/}-c1pher"
pkg_postinst() {
kernel-2_pkg_postinst
einfo "For more info on this patchset, and how to report problems, see:"
einfo "${HOMEPAGE}"
}
|