blob: a7fc98f0f433fe5e743a3484440ea022cacbb109 (
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
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mm-sources/mm-sources-3.0.ebuild,v 1.1 2011/08/17 15:25:25 psomas Exp $
EAPI=4
K_SECURITY_UNSUPPORTED="yes"
K_DEBLOB_AVAILABLE=0
ETYPE="sources"
inherit kernel-2 eutils
detect_version
K_NOSETEXTRAVERSION="don't_set_it"
DESCRIPTION="Andrew Morton's -mmotm quilt patchset"
HOMEPAGE="http://userweb.kernel.org/~akpm/mmotm/"
PATCHSET_URI="http://userweb.kernel.org/~akpm/mmotm/broken-out.tar.gz ->
broken-out-${PV}.tar.gz"
SRC_URI="${KERNEL_URI} ${PATCHSET_URI}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-util/quilt"
RDEPEND="${DEPEND}"
pkg_setup() {
ewarn
ewarn "${PN} are *not* supported by the Gentoo Kernel Project in any way."
ewarn "Do *not* open bugs at Gentoo bugzilla, unless you have issues with"
ewarn "the ebuilds."
ewarn
kernel-2_pkg_setup
}
src_unpack() {
kernel-2_src_unpack
unpack broken-out-${PV}.tar.gz
}
src_prepare() {
einfo "Moving -mmotm quilt patchset to patches/"
mv broken-out patches || die "Unable to move -mmotm patchset to patches/"
einfo "Pushing -mmotm quilt patchset."
quilt push -aq --leave-rejects || die "Unable to apply -mmotm quilt patchset. See the *.rej files in ${S} for more infomation."
}
|