linux-headers
This commit is contained in:
parent
dbc34cd8fc
commit
d442052775
2 changed files with 30 additions and 0 deletions
29
core/linux_headers-6.14.2.pkg
Normal file
29
core/linux_headers-6.14.2.pkg
Normal file
|
@ -0,0 +1,29 @@
|
|||
PACKAGE_NAME=linux-headers
|
||||
PACKAGE_DESCRIPTION=Linux Kernel Headers for C library and userspace
|
||||
PACKAGE_VERSION=6.14.2
|
||||
PACKAGE_MAINTAINERS=Kevin Alavik <kevin@alavik.se>
|
||||
|
||||
configure() {
|
||||
SOURCE_URL=https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-$PACKAGE_VERSION.tar.xz
|
||||
SOURCE_ARCHIVE=linux-$PACKAGE_VERSION.tar.xz
|
||||
SOURCE_DIR=linux-$PACKAGE_VERSION
|
||||
curl -LO "$SOURCE_URL"
|
||||
tar -xf "$SOURCE_ARCHIVE"
|
||||
cd "$SOURCE_DIR"
|
||||
}
|
||||
|
||||
build() {
|
||||
make mrproper
|
||||
}
|
||||
|
||||
test() {
|
||||
echo "No tests for headers."
|
||||
}
|
||||
|
||||
install() {
|
||||
make headers_install INSTALL_HDR_PATH=$PREFIX/usr
|
||||
}
|
||||
|
||||
uninstall() {
|
||||
rm -rf $PREFIX/usr/include
|
||||
}
|
1
core/linux_headers.pkg
Normal file
1
core/linux_headers.pkg
Normal file
|
@ -0,0 +1 @@
|
|||
REDIRECT=linux_headers-6.14.2
|
Loading…
Add table
Reference in a new issue