-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1c05c3d
commit 6d409f2
Showing
2 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
DIST gentoo-headers-2.6.32-1.tar.lzma 9736 RMD160 118f85ab36e521ffd0284e20d47f462d10f143a6 SHA1 51a5f2749bec5ebc89c614caa061722c49bcc56a SHA256 ab9518100f0e40b682ffdfd5eb4defa2f2ffc259d0ae7c3de771f5a3a621cabe | ||
DIST gentoo-headers-2.6.39-1.tar.xz 3216 RMD160 27feab992d4f845acd5f6fc880b37ae9698e4058 SHA1 8629f82a7b2693a54c16dcf4f58a1e3edc1e1307 SHA256 bb16e4fb1c4566c01ff06fcdcd01c129d9920afac0c097923c08e37cc8e861a1 | ||
DIST gentoo-headers-3.1-2.tar.xz 3656 RMD160 f219313ee3004826cfa2e93a6d9c2a13c4c9ea7a SHA1 0708051dba8d1ea8dc91d507f63e7515e1f246bd SHA256 ee30fed6c594ff56309aa7cad018419e8c8cde8b2ba85332ba7473d967ebe972 | ||
DIST gentoo-headers-3.2-3.tar.xz 3972 RMD160 dcdf45de828ef98bd6ab3a2803857d530e657fb2 SHA1 0951087e798c9e426b2746d1f641456db3c1036f SHA256 f3c676a71429ae9309637790651cabee9c190915b3b15462abca35971e0d8822 | ||
DIST gentoo-headers-3.3-2.tar.xz 34172 RMD160 eb8e3ceb89a4194a3587e1475b674fec76fd975d SHA1 5d9d0b595014d950e1e4e842ff966f150c9a4e7c SHA256 4b50911d5d53c7cdcfe07e6721015d0abe5fe2859117410b399d657ea41f3e36 | ||
DIST gentoo-headers-base-2.6.32.tar.lzma 4181482 RMD160 09067823af4cd65c9f48b514dd12037f4b5b33ed SHA1 be17b0679ad248e87f8bbb4d3a37aefaf6c146a7 SHA256 ae1b8bc31770aeff999ec36d4f28eb96df4191a14c0d384bbcbe569fc2e3d620 | ||
DIST gentoo-headers-base-2.6.39.tar.xz 4689080 RMD160 2e0cce267e9e2228380c2ac4ca5d8a5471a2327f SHA1 5c52cf4632c2d125912e2334cf35f1d70b15e514 SHA256 ac7d11395bfe196e4da08e009d1b81494f1c4c1b4f08f5be7b002ed1c6669105 | ||
DIST gentoo-headers-base-3.1.tar.xz 4814816 RMD160 372a0e0fa6dbbc36b91143a1ffc03f843aadff7f SHA1 e0bce0b14ac331f9737c2e4bb61c48fb6ea5f941 SHA256 76bc4baeb1d039a171f6316d3ac6b8f50341937242570988d6705b2d9b02a0c0 | ||
DIST gentoo-headers-base-3.2.tar.xz 4912432 RMD160 1ad9eff0b9ec9d1eb63b2914521d2512f2ddd88c SHA1 7c74ca48de98c0da1ba44224cff36a598230eb8f SHA256 b22faf6f9c64047c29b5d5d8787dce253df99dd2fd29e69c4de491ab002a6675 | ||
DIST gentoo-headers-base-3.3.tar.xz 5065432 RMD160 6b2c02a09a406cb366199562d6fcf3203e867a53 SHA1 d3f019fd385531a909406cfa36df27f45d9121ef SHA256 bddc280496d8709039c02cee50dc14106ac6ea6bfafe99abec9f9470b19582ea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Copyright 1999-2012 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-3.1.ebuild,v 1.9 2012/05/12 16:14:37 armin76 Exp $ | ||
|
||
EAPI="3" | ||
|
||
ETYPE="headers" | ||
H_SUPPORTEDARCH="alpha amd64 arm bfin cris hppa m68k mips ia64 ppc ppc64 s390 sh sparc x86" | ||
inherit kernel-2 | ||
detect_version | ||
|
||
PATCH_VER="2" | ||
SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.xz" | ||
[[ -n ${PATCH_VER} ]] && SRC_URI="${SRC_URI} mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz" | ||
|
||
KEYWORDS="*" | ||
|
||
DEPEND="app-arch/xz-utils | ||
dev-lang/perl" | ||
RDEPEND="" | ||
|
||
S=${WORKDIR}/gentoo-headers-base-${PV} | ||
|
||
src_unpack() { | ||
unpack ${A} | ||
} | ||
|
||
src_prepare() { | ||
has x32 $(get_all_abis) || EPATCH_EXCLUDE+=" 90_all_x32-3.1.patch" | ||
[[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV} | ||
} | ||
|
||
src_install() { | ||
kernel-2_src_install | ||
cd "${D}" | ||
egrep -r \ | ||
-e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \ | ||
-e '\<([us](8|16|32|64))\>' \ | ||
. | ||
headers___fix $(find -type f) | ||
|
||
egrep -l -r -e '__[us](8|16|32|64)' "${D}" | xargs grep -L linux/types.h | ||
|
||
# hrm, build system sucks | ||
find "${D}" '(' -name '.install' -o -name '*.cmd' ')' -print0 | xargs -0 rm -f | ||
|
||
# provided by libdrm (for now?) | ||
rm -rf "${D}"/$(kernel_header_destdir)/drm | ||
} | ||
|
||
src_test() { | ||
emake ARCH=$(tc-arch-kernel) headers_check || die | ||
} |