summaryrefslogtreecommitdiffstats
path: root/abs/core/kernel-headers/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/kernel-headers/PKGBUILD')
-rw-r--r--abs/core/kernel-headers/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/abs/core/kernel-headers/PKGBUILD b/abs/core/kernel-headers/PKGBUILD
new file mode 100644
index 0000000..485a918
--- /dev/null
+++ b/abs/core/kernel-headers/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 3465 2008-06-22 20:06:08Z jgc $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+pkgname=kernel-headers
+pkgver=2.6.25.8
+_basever=2.6.25
+pkgrel=10
+pkgdesc="Kernel headers sanitized for use in userspace"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://www.gnu.org/software/libc"
+groups=('base')
+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
+ netfilter-includes.patch)
+md5sums=('db95a49a656a3247d4995a797d333153'
+ '007e6aca33604bc09687790361026d3c'
+ '671fa5d449e145199a871d1a41514122')
+
+build() {
+ cd ${startdir}/src/linux-${_basever}
+ patch -Np1 -i ${startdir}/src/patch-${pkgver} || return 1
+ patch -Np1 -i ${startdir}/src/netfilter-includes.patch || return 1
+
+ make mrproper
+ make headers_check || return 1
+ make INSTALL_HDR_PATH=${startdir}/pkg/usr headers_install
+}