Initial commit

This commit is contained in:
2025-11-03 16:53:24 +02:00
commit 7dcadf2ec2
4 changed files with 37 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
# Exclude bpm archives
*.bpm
+4
View File
@@ -0,0 +1,4 @@
#!/bin/sh
# Ignore this package
echo "ignore"
+15
View File
@@ -0,0 +1,15 @@
name: gnu-efi
description: Develop EFI applications using the GNU toolchain and the EFI development environment
version: 3.0.18
revision: 1
url: https://github.com/ncroxon/gnu-efi
license: BSD-2-Clause
architecture: any
type: source
options:
- nostrip
downloads:
- url: https://github.com/ncroxon/gnu-efi/archive/refs/tags/${BPM_PKG_VERSION}.tar.gz
extract_to: ${BPM_SOURCE}
extract_strip_components: 1
checksum: 60bbd8bec24bfef808cd871231931ad9e2f95485b1160bda2c64e52655f6655d
+16
View File
@@ -0,0 +1,16 @@
# 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() {
export CFLAGS="-O2" LDFLAGS=
make PREFIX=/usr
}
# The package function is executed in the source directory
# This function is used to move the compiled files into the output directory
package() {
make INSTALLROOT="$BPM_OUTPUT" PREFIX=/usr install
}