2008-12-17 09:12:33 +01:00
|
|
|
# Template file for 'kernel-libc-headers'
|
|
|
|
pkgname=kernel-libc-headers
|
2009-12-04 00:25:09 +01:00
|
|
|
_kernel_ver=2.6.32
|
2009-12-17 10:12:23 +01:00
|
|
|
#version=${_kernel_ver}
|
2009-12-21 11:54:42 +01:00
|
|
|
_kernel_patch_ver=2
|
2009-12-17 10:12:23 +01:00
|
|
|
version=${_kernel_ver}.${_kernel_patch_ver}
|
2008-10-23 17:14:00 +02:00
|
|
|
wrksrc="linux-$version"
|
2009-04-19 00:31:39 +02:00
|
|
|
distfiles="${KERNEL_SITE}/kernel/v2.6/linux-$version.tar.bz2"
|
2008-10-23 17:14:00 +02:00
|
|
|
build_style=only-install
|
|
|
|
make_install_target="
|
|
|
|
INSTALL_HDR_PATH=$XBPS_DESTDIR/$pkgname-$version/usr
|
|
|
|
headers_install"
|
2008-12-17 09:12:33 +01:00
|
|
|
short_desc="The Linux kernel headers for development"
|
2008-10-23 17:14:00 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2009-12-21 11:54:42 +01:00
|
|
|
checksum=92b128bc7380e1a0bd8736f09199ef06a05dfaa3c2590c6c58a53d662473de99
|
2008-10-23 17:14:00 +02:00
|
|
|
long_desc="
|
|
|
|
This package provides the linux kernel headers for use in userspace."
|
2008-10-27 07:42:40 +01:00
|
|
|
|
|
|
|
base_chroot=yes
|
2009-12-04 00:25:09 +01:00
|
|
|
nostrip=yes
|
2009-12-08 17:19:26 +01:00
|
|
|
# Ugly but so we can always use official code :-)
|
|
|
|
subpackages="ifenslave"
|
2009-08-14 10:11:16 +02:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
# Remove /usr/include/drm bundled with libdrm.
|
|
|
|
rm -rf ${DESTDIR}/usr/include/drm
|
|
|
|
}
|