smlinux/base/kernel-headers/kernel-headers.SMBuild

28 lines
No EOL
883 B
Text
Executable file

app=kernel-headers
version=4.19.88
build=1sml
homepage="http://ftp.barfooze.de/pub/sabotage/tarballs/"
download="http://ftp.barfooze.de/pub/sabotage/tarballs/linux-headers-$version.tar.xz"
desc="Musl-compatible header files for the Linux kernel"
requires="musl"
build() {
mkandenterbuilddir
rm -rf linux-headers-$version
tar xf $srcdir/linux-headers-$version.tar.?z*
cd linux-headers-$version
fixbuilddirpermissions
applypatch $srcdir/ptrace.h.patch
make ARCH="$arch" prefix="/" DESTDIR=$pkg install
cp -r generic/include $pkg/
mkfinalpkg
}
sha512sums="
5a975ba49b577869f2338aa80f44efd4e94f76e5b4bda11a6a1761a6d646848fdeaad7c820339b2c1c20d55f9bbf0e686121d621ac1cfa1dfc6cd71a166ade3a linux-headers-4.19.88.tar.xz
185d627c8704cfdf423e7bcd16d54046d857457fd24ad087d6ad8cd768e5dcb9b8e19e688348afec233d54c5e85106e1d7246cd7cd0413865feb488d2ca64d7b ptrace.h.patch
"