Contents of /trunk/core/linux-libc-headers/linux-libc-headers-2.6.27-r1.smage2
Parent Directory | Revision Log
Revision 25 -
(show annotations)
(download)
Fri Oct 10 23:02:42 2008 UTC (15 years, 11 months ago) by niro
File size: 1017 byte(s)
Fri Oct 10 23:02:42 2008 UTC (15 years, 11 months ago) by niro
File size: 1017 byte(s)
-ver bump to 2.6.27-r1
1 | # $Header: /magellan-cvs/smage/linux-libc-headers/linux-libc-headers-2.6.24-r1.smage2,v 1.1 2008/02/07 20:17:10 niro Exp $ |
2 | |
3 | PNAME="linux-libc-headers" |
4 | PVER="2.6.27" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="sys-kernel" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="The Linux-Libc-Headers package contains the sanitized kernel headers." |
11 | HOMEPAGE="http://headers.cross-lfs.org/" |
12 | |
13 | DEPEND="" |
14 | |
15 | PROVIDE="virtual/kernel-headers" |
16 | |
17 | SRCFILE="linux-${PVER}.tar.bz2" |
18 | SRCDIR="${BUILDDIR}/linux-${PVER}" |
19 | |
20 | sminclude mtools |
21 | |
22 | SRC_URI=( |
23 | http://www.kernel.org/pub/linux/kernel/v${PVER:0:3}/${SRCFILE} |
24 | mirror://${PNAME}/${SRCFILE} |
25 | ) |
26 | |
27 | # only x.y.z releases not x.y.z.patchlevel |
28 | UP2DATE="updatecmd http://www.kernel.org/ | grep 'latest stable' | sed 's/.*\([0-9].[0-9].[0-9].*\) .*/\1/' | cut -d. -f1-3" |
29 | |
30 | src_prepare() |
31 | { |
32 | munpack ${SRCFILE} || die |
33 | } |
34 | |
35 | src_compile() |
36 | { |
37 | cd ${SRCDIR} |
38 | make mrproper || die |
39 | make ARCH=${ARCH/i*86/x86} headers_check || die |
40 | } |
41 | |
42 | src_install() |
43 | { |
44 | cd ${SRCDIR} |
45 | make ARCH=${ARCH/i*86/x86} INSTALL_HDR_PATH=${BINDIR}/usr headers_install || die |
46 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |