diff options
Diffstat (limited to 'abs/core-testing/kernel-headers/PKGBUILD')
-rw-r--r-- | abs/core-testing/kernel-headers/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/abs/core-testing/kernel-headers/PKGBUILD b/abs/core-testing/kernel-headers/PKGBUILD new file mode 100644 index 0000000..485a918 --- /dev/null +++ b/abs/core-testing/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 +} |