mirror of
https://github.com/outbackdingo/ports.git
synced 2026-02-06 01:16:26 +00:00
18 lines
455 B
Plaintext
Executable File
18 lines
455 B
Plaintext
Executable File
# description : Expose the kernel's API for use by Glibc
|
|
|
|
name=linux-api-headers
|
|
version=4.17.11
|
|
release=1
|
|
source=(https://www.kernel.org/pub/linux/kernel/v4.x/linux-$version.tar.xz)
|
|
md5sum=(4bc2fc2eb9dc8188525f575263ada3f3)
|
|
|
|
build() {
|
|
cd linux-$version
|
|
|
|
make mrproper
|
|
make INSTALL_HDR_PATH=dest headers_install
|
|
find dest/include \( -name .install -o -name ..install.cmd \) -delete
|
|
mkdir -p $PKG/usr/include
|
|
cp -rv dest/include/* $PKG/usr/include
|
|
}
|