Initial commit
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
# Exclude bpm archives
|
||||
*.bpm
|
||||
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Ignore this package
|
||||
echo "ignore"
|
||||
@@ -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
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user