From b7e198dd59c8f40e0e8f3e5f7c05f9bc87cf328c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 23 Aug 2010 20:40:45 +0000 Subject: Version bump. (Portage version: 2.2_rc67/cvs/Linux x86_64) --- sys-kernel/linux-headers/ChangeLog | 7 +++- .../linux-headers/linux-headers-2.6.35.ebuild | 49 ++++++++++++++++++++++ 2 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 sys-kernel/linux-headers/linux-headers-2.6.35.ebuild (limited to 'sys-kernel') diff --git a/sys-kernel/linux-headers/ChangeLog b/sys-kernel/linux-headers/ChangeLog index 5724cf4cb883..9dffea0f4d3c 100644 --- a/sys-kernel/linux-headers/ChangeLog +++ b/sys-kernel/linux-headers/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-kernel/linux-headers # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/ChangeLog,v 1.310 2010/08/23 06:24:49 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/ChangeLog,v 1.311 2010/08/23 20:40:45 vapier Exp $ + +*linux-headers-2.6.35 (23 Aug 2010) + + 23 Aug 2010; Mike Frysinger +linux-headers-2.6.35.ebuild: + Version bump. 23 Aug 2010; Mike Frysinger linux-headers-2.6.30-r1.ebuild: diff --git a/sys-kernel/linux-headers/linux-headers-2.6.35.ebuild b/sys-kernel/linux-headers/linux-headers-2.6.35.ebuild new file mode 100644 index 000000000000..2816a14cb175 --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-2.6.35.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.6.35.ebuild,v 1.1 2010/08/23 20:40:45 vapier 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="1" +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="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" + +DEPEND="app-arch/xz-utils" +RDEPEND="" + +S=${WORKDIR}/gentoo-headers-base-${PV} + +src_unpack() { + unpack ${A} + cd "${S}" + [[ -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 +} -- cgit v1.2.3-65-gdbad