/[gentoo-x86]/sys-kernel/pf-sources/pf-sources-3.8.2.ebuild
Gentoo

Contents of /sys-kernel/pf-sources/pf-sources-3.8.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Apr 7 20:11:27 2013 UTC (17 months, 1 week ago) by hwoarang
Branch: MAIN
CVS Tags: HEAD
Version bump

(Portage version: 2.1.11.60/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-kernel/pf-sources/pf-sources-3.8.1.ebuild,v 1.1 2013/03/16 23:49:09 hwoarang Exp $
4
5 EAPI="5"
6 inherit readme.gentoo versionator
7
8 COMPRESSTYPE=".bz2"
9 K_USEPV="yes"
10 UNIPATCH_STRICTORDER="yes"
11 K_SECURITY_UNSUPPORTED="1"
12
13 CKV="$(get_version_component_range 1-2)"
14 ETYPE="sources"
15 inherit kernel-2
16 detect_version
17 K_NOSETEXTRAVERSION="don't_set_it"
18
19 DESCRIPTION="Linux kernel fork with new features, including the -ck patchset (BFS), BFQ, TuxOnIce and UKSM"
20 HOMEPAGE="http://pf.natalenko.name/"
21
22 PF_FILE="patch-${PV}-pf${COMPRESSTYPE}"
23 PF_URI="http://pf.natalenko.name/sources/$(get_version_component_range 1-2)/${PF_FILE}"
24 EXPERIMENTAL_PATCHES=(
25 # http://ck-hack.blogspot.com/2010/11/create-task-groups-by-tty-comment.html
26 # http://ck.kolivas.org/patches/bfs/bfs357-penalise_fork_depth_account_threads.patch
27 )
28 EXPERIMENTAL_URI="
29 experimental? (
30 ${EXPERIMENTAL_PATCHES[@]}
31 )
32 "
33 SRC_URI="${KERNEL_URI} ${PF_URI}" # \${EXPERIMENTAL_URI}
34
35 KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86"
36 IUSE="" # experimental
37
38 KV_FULL="${PVR}-pf"
39 S="${WORKDIR}"/linux-"${KV_FULL}"
40
41 DISABLE_AUTOFORMATTING="yes"
42 DOC_CONTENTS="
43 ${P} has the following optional runtime dependencies:
44 - sys-apps/tuxonice-userui: provides minimal userspace progress
45 information related to suspending and resuming process.
46 - sys-power/hibernate-script or sys-power/pm-utils: runtime utilities
47 for hibernating and suspending your computer."
48
49 pkg_setup(){
50 ewarn
51 ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way."
52 ewarn "If you need support, please contact the pf developers directly."
53 ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
54 ewarn "the ebuilds. Thank you."
55 ewarn
56 kernel-2_pkg_setup
57 }
58
59 src_prepare(){
60 epatch "${DISTDIR}"/"${PF_FILE}"
61 }
62
63 src_install() {
64 kernel-2_src_install
65 readme.gentoo_create_doc
66 }
67
68 pkg_postinst() {
69 kernel-2_pkg_postinst
70 readme.gentoo_print_elog
71 }
72
73 K_EXTRAEINFO="For more info on pf-sources and details on how to report problems,
74 see: ${HOMEPAGE}."

  ViewVC Help
Powered by ViewVC 1.1.20