From 0716888051261d4e4af22446af29612f0dbb2380 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Wed, 5 Feb 2020 12:18:40 +0100 Subject: add def/a/kernel-libc-headers --- def/a/kernel-libc-headers | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 def/a/kernel-libc-headers 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 +} + -- cgit 1.4.1