Magellan Linux

Contents of /smage/trunk/core/linux-libc-headers/linux-libc-headers-2.6.28-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 15 - (show annotations) (download)
Sun Jan 11 21:11:52 2009 UTC (15 years, 3 months ago) by niro
File size: 879 byte(s)
-ver bump to 2.6.28-r1
1 # $Id$
2
3 PNAME="linux-libc-headers"
4 PVER="2.6.28"
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 alx
21
22 SRC_URI=(
23 http://www.kernel.org/pub/linux/kernel/v${PVER:0:3}/${SRCFILE}
24 mirror://${PNAME}/${SRCFILE}
25 mirror://${PNAME}/${PNAME}-${PVER}-serial_h_fix-1.patch
26 )
27
28 src_prepare()
29 {
30 munpack ${SRCFILE} || die
31 cd ${SRCDIR}
32
33 # fixed missing include which prevents kbd to build properly
34 mpatch ${PNAME}-${PVER}-serial_h_fix-1.patch || die
35 }
36
37 src_compile()
38 {
39 cd ${SRCDIR}
40 make mrproper || die
41 make headers_check || die
42 }
43
44 src_install()
45 {
46 cd ${SRCDIR}
47 make INSTALL_HDR_PATH=${BINDIR}/usr headers_install || die
48 }

Properties

Name Value
svn:keywords Id