Switch to new download format and fix building against acl 2.4.0

This commit is contained in:
2026-07-30 13:20:08 +03:00
parent 143283628c
commit 8856984536
3 changed files with 108 additions and 8 deletions
+6 -7
View File
@@ -2,20 +2,19 @@
# 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/tar/tar-${BPM_PKG_VERSION}.tar.xz"
FILENAME="${DOWNLOAD##*/}"
# 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"
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
cd "$BPM_SOURCE"
patch -Np1 -i "$BPM_WORKDIR"/tar-1.35-acl-2.4.0.patch
autoreconf -fi
}
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix=/usr
./configure --prefix=/usr
make
}