Initial commit
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
# Exclude bpm archives
|
||||||
|
*.bpm
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
VERSION=$(curl -s https://www.kernel.org/ | grep -m1 -A1 'stable:' | grep -oP '(?<=strong>).*(?=</strong.*)')
|
||||||
|
|
||||||
|
echo "$VERSION"
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
name: linux-api-headers
|
||||||
|
description: Kernel headers sanitized for use in userspace
|
||||||
|
version: 6.18.3
|
||||||
|
revision: 1
|
||||||
|
url: https://www.gnu.org/software/libc
|
||||||
|
license: GPL2-only
|
||||||
|
architecture: any
|
||||||
|
type: source
|
||||||
|
make_depends:
|
||||||
|
- rsync
|
||||||
|
downloads:
|
||||||
|
- url: https://cdn.kernel.org/pub/linux/kernel/v${BPM_PKG_VERSION%%.*}.x/linux-${BPM_PKG_VERSION}.tar.xz
|
||||||
|
extract_to: ${BPM_SOURCE}
|
||||||
|
extract_strip_components: 1
|
||||||
|
checksum: 7a8879167b89c4bae077d6f39c4f2130769f05dbdad2aad914adab9afb7d7f9a
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
# This is the source.sh script. It is executed by BPM in a temporary directory when compiling a source package
|
||||||
|
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
||||||
|
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||||
|
|
||||||
|
# The build function is executed in the source directory
|
||||||
|
# This function is used to compile the source code
|
||||||
|
build() {
|
||||||
|
make mrproper
|
||||||
|
}
|
||||||
|
|
||||||
|
# The package function is executed in the source directory
|
||||||
|
# This function is used to move the compiled files into the output directory
|
||||||
|
package() {
|
||||||
|
make INSTALL_HDR_PATH="$BPM_OUTPUT"/usr headers_install
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user