1
0
Fork 0
frozenports/devel/linux-headers/SCHEMATIC

24 lines
703 B
Plaintext
Raw Normal View History

2024-01-22 10:46:08 +00:00
#!/bin/sh
name="linux-headers"
short_desc="Linux API headers"
desc="Contains necessary headers for building programs
that utilize the Linux kernel functions."
category="devel"
version="6.6.11"
maintainer="ffqq@danwin1210.de"
www="https://www.kernel.org/"
master_site="https://cdn.kernel.org/pub/linux/kernel/v6.x"
source_name="linux-$version.tar.xz"
license_logic="single" # accepted values: single, and, or
licenses=("GPLv2")
build_dependencies=("devel/gmake" "lang/gcc")
run_dependencies=("system/glibc")
build_process() {
cd linux-$version
make headers
find usr/include -type f ! -name '*.h' -delete
mkdir -pv $TAMANDUA_STAGE_DIR/usr
cp -rv usr/include $TAMANDUA_STAGE_DIR/usr
}