Update package version to 6.5

This commit is contained in:
2025-07-11 19:04:29 +03:00
parent 96f574a1fe
commit 55b184b5e6
4 changed files with 99 additions and 12 deletions
+14 -9
View File
@@ -2,7 +2,7 @@
# 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://anduin.linuxfromscratch.org/LFS/ncurses-${BPM_PKG_VERSION}.tar.xz"
DOWNLOAD="https://ftp.gnu.org/gnu/ncurses/ncurses-${BPM_PKG_VERSION}.tar.gz"
FILENAME="${DOWNLOAD##*/}"
# The prepare function is executed in the root of the temp directory
@@ -10,20 +10,25 @@ FILENAME="${DOWNLOAD##*/}"
prepare() {
wget "$DOWNLOAD"
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
cd "$BPM_SOURCE"
patch -Np1 -i "$BPM_WORKDIR"/ncurses-6.3-libs.patch # Do not link against test libraries
patch -Np1 -i "$BPM_WORKDIR"/ncurses-6.3-pkgconfig.patch # Do not leak build-time LDFLAGS into the pkgconfig files
}
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
export CFLAGS="${CFLAGS} --std=gnu17"
./configure --prefix=/usr \
--mandir=/usr/share/man \
--with-shared \
--without-debug \
--without-normal \
--with-cxx-shared \
--enable-pc-files \
--enable-widec \
--with-pkg-config-libdir=/usr/lib/pkgconfig
--mandir=/usr/share/man \
--with-shared \
--without-debug \
--without-normal \
--with-cxx-shared \
--enable-pc-files \
--enable-widec \
--with-pkg-config-libdir=/usr/lib/pkgconfig
make
}