[arch-commits] Commit in (4 files)
Allan McRae
allan at archlinux.org
Sun Jan 24 01:46:29 UTC 2010
Date: Saturday, January 23, 2010 @ 20:46:29
Author: allan
Revision: 65012
rename kernel-headers (FS#17655), convert to arch=any, delete useless install files (FS#17641)
Added:
linux-api-headers/
linux-api-headers/repos/
linux-api-headers/trunk/
linux-api-headers/trunk/PKGBUILD
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Added: linux-api-headers/trunk/PKGBUILD
===================================================================
--- linux-api-headers/trunk/PKGBUILD (rev 0)
+++ linux-api-headers/trunk/PKGBUILD 2010-01-24 01:46:29 UTC (rev 65012)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Maintainer: Allan McRae <allan at archlinux.org>
+
+# toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc
+
+pkgname=linux-api-headers
+pkgver=2.6.32.5
+_basever=2.6.32
+pkgrel=1
+pkgdesc="Kernel headers sanitized for use in userspace"
+arch=('any')
+url="http://www.gnu.org/software/libc"
+license=('GPL')
+groups=('base')
+provides=('kernel-headers')
+conflicts=("glibc<=2.10.1-4" 'kernel-headers')
+replaces=('kernel-headers')
+source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${_basever}.tar.bz2
+ http://www.kernel.org/pub/linux/kernel/v2.6/patch-${pkgver}.bz2
+ scsi.patch)
+md5sums=('260551284ac224c3a43c4adac7df4879'
+ '49e6bc73c7a7f690fe7ddf09fe2b5d06'
+ 'b6d05566fcfe07770d9386f0588f8758')
+
+build() {
+ cd ${srcdir}/linux-${_basever}
+ patch -Np1 -i ${srcdir}/patch-${pkgver} || return 1
+
+ # fix issues with transition of scsi.h from glibc
+ patch -Np1 -i ${srcdir}/scsi.patch || return 1
+
+ make mrproper
+ make headers_check || return 1
+ make INSTALL_HDR_PATH=${pkgdir}/usr headers_install
+
+ rm -rf ${pkgdir}/usr/include/drm
+
+ rm -f $(find ${pkgdir} -name .install -or -name ..install.cmd)
+}
Property changes on: linux-api-headers/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
+ Id
More information about the arch-commits
mailing list