summaryrefslogtreecommitdiffstats
path: root/abs/core/linux-api-headers/PKGBUILD
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-01-31 04:11:32 (GMT)
committerCecil <knoppmyth@gmail.com>2011-01-31 04:11:32 (GMT)
commitd479ddd12e125c32539981b02bc7c0d74d4914b3 (patch)
tree24f2a6b103f0c661866af69ecb12ccf692baed67 /abs/core/linux-api-headers/PKGBUILD
parent5cca5987ab24a0c9ea71f062f1a33e950df06d5d (diff)
downloadlinhes_pkgbuild-d479ddd12e125c32539981b02bc7c0d74d4914b3.zip
linhes_pkgbuild-d479ddd12e125c32539981b02bc7c0d74d4914b3.tar.gz
linhes_pkgbuild-d479ddd12e125c32539981b02bc7c0d74d4914b3.tar.bz2
linux-api-headers:Upgrade for newest kernel.
Diffstat (limited to 'abs/core/linux-api-headers/PKGBUILD')
-rw-r--r--abs/core/linux-api-headers/PKGBUILD23
1 files changed, 9 insertions, 14 deletions
diff --git a/abs/core/linux-api-headers/PKGBUILD b/abs/core/linux-api-headers/PKGBUILD
index 7090df8..27dfd88 100644
--- a/abs/core/linux-api-headers/PKGBUILD
+++ b/abs/core/linux-api-headers/PKGBUILD
@@ -1,32 +1,26 @@
-# $Id: PKGBUILD 80778 2010-05-22 07:55:08Z allan $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
+# $Id: PKGBUILD 106756 2011-01-19 00:34:07Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc
pkgname=linux-api-headers
-pkgver=2.6.34
-_basever=2.6.34
+pkgver=2.6.37
+_basever=2.6.37
pkgrel=1
pkgdesc="Kernel headers sanitized for use in userspace"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/libc"
license=('GPL2')
provides=("kernel-headers=${pkgver}")
-conflicts=("glibc<=2.10.1-4" 'kernel-headers')
+conflicts=('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=('10eebcb0178fb4540e2165bfd7efc7ad'
- 'b6d05566fcfe07770d9386f0588f8758')
+source=(http://www.kernel.org/pub/linux/kernel/v2.6/linux-${_basever}.tar.bz2)
+ #http://www.kernel.org/pub/linux/kernel/v2.6/patch-${pkgver}.bz2)
+md5sums=('c8ee37b4fdccdb651e0603d35350b434')
build() {
cd ${srcdir}/linux-${_basever}
#patch -Np1 -i ${srcdir}/patch-${pkgver}
-
- # fix issues with transition of scsi.h from glibc
- patch -Np1 -i ${srcdir}/scsi.patch
make mrproper
make headers_check
@@ -39,5 +33,6 @@ package() {
# use headers from libdrm
rm -rf ${pkgdir}/usr/include/drm
- rm -f $(find ${pkgdir} -name .install -or -name ..install.cmd)
+ # clean-up unnecessary files generated during install
+ find ${pkgdir} -name .install -or -name ..install.cmd | xargs rm -f
}