[Lunar-commits] <moonbase> kernel-headers: the corresponding module for the linux module.
Florin Braescu
florin at lunar-linux.org
Mon Nov 21 20:00:30 CET 2011
commit e465fe3c4508c62ceb0d06f1843c6d64c37afd76
Author: Florin Braescu <florin at lunar-linux.org>
Date: Mon Nov 21 20:00:30 2011 +0100
kernel-headers: the corresponding module for the linux module.
---
kernel/kernel-headers/BUILD | 29 +++++++++++++++++++++++++++++
kernel/kernel-headers/CONFLICTS | 1 +
kernel/kernel-headers/DETAILS | 15 +++++++++++++++
kernel/kernel-headers/DETAILS.x86_64 | 15 +++++++++++++++
4 files changed, 60 insertions(+), 0 deletions(-)
diff --git a/kernel/kernel-headers/BUILD b/kernel/kernel-headers/BUILD
new file mode 100644
index 0000000..af788a6
--- /dev/null
+++ b/kernel/kernel-headers/BUILD
@@ -0,0 +1,29 @@
+(
+
+ cd $SOURCE_DIRECTORY/include/ &&
+
+ # Don't conflict with libdrm
+ # As done in http://www.gentoo-portage.com/sys-kernel/linux-headers
+ rm -rf drm &&
+
+ # Delete useless files
+ find '(' -name '.install' -o -name '*.cmd' ')' -delete &&
+
+ prepare_install &&
+
+ for dir in ./* ; do
+ cp -a $dir /usr/include/ &&
+ chown -R root.root /usr/include/$dir &&
+
+ for subdir in `find /usr/include/$dir -type d`
+ do
+ chmod 755 $subdir
+ done &&
+
+ for file in `find /usr/include/$dir -type f`
+ do
+ chmod 644 $file
+ done
+ done
+
+) > $C_FIFO 2>&1
diff --git a/kernel/kernel-headers/CONFLICTS b/kernel/kernel-headers/CONFLICTS
new file mode 100644
index 0000000..03234b9
--- /dev/null
+++ b/kernel/kernel-headers/CONFLICTS
@@ -0,0 +1 @@
+conflicts kernel-headers-2.6
diff --git a/kernel/kernel-headers/DETAILS b/kernel/kernel-headers/DETAILS
new file mode 100644
index 0000000..a24230e
--- /dev/null
+++ b/kernel/kernel-headers/DETAILS
@@ -0,0 +1,15 @@
+ MODULE=kernel-headers
+ VERSION=3.1.1
+ SOURCE=kernel-headers-$VERSION.tar.bz2
+ SOURCE_DIRECTORY=${BUILD_DIRECTORY}/kernel-headers-$VERSION
+ SOURCE_URL=$MIRROR_URL
+ SOURCE_VFY=sha1:385f094fe580f91874c551c82a788c6e0fc1f2e1
+ WEB_SITE=http://www.lunar-linux.org
+ MAINTAINER=moe at lunar-linux.org
+ ENTERED=20040226
+ UPDATED=20111121
+ SHORT="sanitized kernel headers for userspace"
+
+cat << EOF
+Sanitized kernel headers for userspace. The 32 bits version.
+EOF
diff --git a/kernel/kernel-headers/DETAILS.x86_64 b/kernel/kernel-headers/DETAILS.x86_64
new file mode 100644
index 0000000..7dcab2b
--- /dev/null
+++ b/kernel/kernel-headers/DETAILS.x86_64
@@ -0,0 +1,15 @@
+ MODULE=kernel-headers-2.6
+ VERSION=2.6.34.3-x86_64
+ SOURCE=kernel-headers-$VERSION.tar.bz2
+ SOURCE_DIRECTORY=${BUILD_DIRECTORY}/kernel-headers-$VERSION
+ SOURCE_URL=$MIRROR_URL
+ SOURCE_VFY=sha1:16ada969a5a545435b36a1eb194245f149f72ed9
+ WEB_SITE=http://www.lunar-linux.org
+ MAINTAINER=moe at lunar-linux.org
+ ENTERED=20040226
+ UPDATED=20100819
+ SHORT="sanitized kernel headers for userspace"
+
+cat << EOF
+Sanitized kernel headers for userspace. The 64 bits version.
+EOF
More information about the Lunar-commits
mailing list