summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2020-02-05 12:18:40 +0100
committerLeah Neukirchen <leah@vuxu.org>2020-02-05 12:18:40 +0100
commit0716888051261d4e4af22446af29612f0dbb2380 (patch)
tree4d6bad5a7cb6789612f16842e7c7b0a6b9fdcc67
parent7e2aaa5c842f6ed5e8fa2797cbef0e83fb73162b (diff)
downloadmewix-0716888051261d4e4af22446af29612f0dbb2380.tar.gz
mewix-0716888051261d4e4af22446af29612f0dbb2380.tar.xz
mewix-0716888051261d4e4af22446af29612f0dbb2380.zip
add def/a/kernel-libc-headers
-rw-r--r--def/a/kernel-libc-headers16
1 files changed, 16 insertions, 0 deletions
diff --git a/def/a/kernel-libc-headers b/def/a/kernel-libc-headers
new file mode 100644
index 0000000..3319807
--- /dev/null
+++ b/def/a/kernel-libc-headers
@@ -0,0 +1,16 @@
+pkgname=kernel-libc-headers
+version=5.5.1
+distfiles="https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${version}.tar.xz"
+
+do_build() {
+  make headers_check
+}
+
+do_install() {
+  make headers
+  find usr/include -name '.*' -delete
+  rm -rf usr/include/Makefile usr/include/drm
+  mkdir -p ${DESTDIR}/usr/include
+  cp -rv usr/include/* ${DESTDIR}/usr/include
+}
+