Fix dependencies
This commit is contained in:
@@ -2,22 +2,11 @@
|
||||
# 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
|
||||
|
||||
DOWNLOAD="https://ftpmirror.gnu.org/gnu/grub/grub-${BPM_PKG_VERSION}.tar.xz"
|
||||
UNIFONT_VERSION="16.0.03"
|
||||
DOWNLOAD_UNIFONT="https://ftpmirror.gnu.org/gnu/unifont/unifont-${UNIFONT_VERSION}/unifont-${UNIFONT_VERSION}.bdf.gz"
|
||||
FILENAME="${DOWNLOAD##*/}"
|
||||
FILENAME_UNIFONT="${DOWNLOAD_UNIFONT##*/}"
|
||||
|
||||
# The prepare function is executed in the root of the temp directory
|
||||
# This function is used for downloading files and putting them into the correct location
|
||||
# This function is used for putting downloaded files to the correct location or applying patches
|
||||
prepare() {
|
||||
wget "$DOWNLOAD"
|
||||
wget "$DOWNLOAD_UNIFONT"
|
||||
|
||||
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
|
||||
|
||||
# Decompress unifont file to source directory
|
||||
gunzip -c "$FILENAME_UNIFONT" > "$BPM_SOURCE"/unifont.bdf
|
||||
gunzip -c unifont.bdf.gz > "$BPM_SOURCE"/unifont.bdf
|
||||
}
|
||||
|
||||
# The build function is executed in the source directory
|
||||
|
||||
Reference in New Issue
Block a user