Update package version to 5.42.0

This commit is contained in:
2025-09-07 19:31:02 +03:00
parent 75719e0308
commit 6f24053007
3 changed files with 27 additions and 16 deletions
+18 -14
View File
@@ -15,22 +15,26 @@ prepare() {
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
# Use system libraries
export BUILD_ZLIB=False
export BUILD_BZIP2=0
sh Configure -des \
-Dprefix=/usr \
-Dvendorprefix=/usr \
-Dprivlib=/usr/lib/perl5/5.38/core_perl \
-Darchlib=/usr/lib/perl5/5.38/core_perl \
-Dsitelib=/usr/lib/perl5/5.38/site_perl \
-Dsitearch=/usr/lib/perl5/5.38/site_perl \
-Dvendorlib=/usr/lib/perl5/5.38/vendor_perl \
-Dvendorarch=/usr/lib/perl5/5.38/vendor_perl \
-Dman1dir=/usr/share/man/man1 \
-Dman3dir=/usr/share/man/man3 \
-Dpager="/usr/bin/less -isR" \
-Duseshrplib \
-Dusethreads
perldir=/usr/lib/perl/${BPM_PKG_VERSION%.*}
sh Configure -des \
-Dprefix=/usr \
-Dvendorprefix=/usr \
-Dprivlib="$perldir"/core_perl \
-Darchlib="$perldir"/core_perl \
-Dsitelib="$perldir"/site_perl \
-Dsitearch="$perldir"/site_perl \
-Dvendorlib="$perldir"/vendor_perl \
-Dvendorarch="$perldir"/vendor_perl \
-Dman1dir=/usr/share/man/man1 \
-Dman3dir=/usr/share/man/man3 \
-Dpager="/usr/bin/less -isR" \
-Duseshrplib \
-Dusethreads \
-Doptimize="${CFLAGS}"
make
}