mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-28 10:20:07 +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.19.66
|
|
release=1
|
|
source=(https://www.kernel.org/pub/linux/kernel/v4.x/linux-$version.tar.xz)
|
|
md5sum=(025c07e37cb89afa2b26bb4850ce7fa2)
|
|
|
|
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
|
|
}
|