Upgraded libxslt from 1.1.39 to 1.1.43

This commit is contained in:
dslm4515
2025-06-24 00:37:51 -05:00
parent 5788e17a72
commit c1ac5498b4

View File

@ -1,7 +1,7 @@
#! /bin/bash #! /bin/bash
# LibXSLT # LibXSLT
# Source: https://download.gnome.org/sources/libxslt/1.1/libxslt-1.1.39.tar.xz # Source: https://download.gnome.org/sources/libxslt/1.1/libxslt-1.1.43.tar.xz
# #
# $BUILD = Directory to temporarily install # $BUILD = Directory to temporarily install
# $PKGS = Directory to store built packages # $PKGS = Directory to store built packages
@ -18,8 +18,10 @@ export CFLAGS+="-O3 -ffat-lto-objects -flto=auto "
export CFLAGS+="-fstack-protector-strong -fzero-call-used-regs=used " export CFLAGS+="-fstack-protector-strong -fzero-call-used-regs=used "
export LDFLAGS="-flto=auto -Wl,-O2 -Wl,--as-needed " export LDFLAGS="-flto=auto -Wl,-O2 -Wl,--as-needed "
export PVER="1.1.43"
./configure --prefix=/usr --disable-static \ ./configure --prefix=/usr --disable-static \
--docdir=/usr/share/doc/libxslt-1.1.39 \ --docdir=/usr/share/doc/libxslt-$PVER \
PYTHON=/usr/bin/python3 $BUILDTRUPLE && PYTHON=/usr/bin/python3 $BUILDTRUPLE &&
read -p "Compile? " && make -j2 && read -p "Compile? " && make -j2 &&
@ -56,7 +58,7 @@ libxslt:
EOF EOF
sudo mv /tmp/slack-desc install/ && sudo mv /tmp/slack-desc install/ &&
read -p "Enter to build and install package" && read -p "Enter to build and install package" &&
sudo makepkg -l y -c n $PKGS/libxslt-1.1.39-${PSUFFIX} && sudo makepkg -l y -c n $PKGS/libxslt-$PVER-${PSUFFIX} &&
cd /BMAN cd /BMAN
cat > /tmp/slack-desc << "EOF" cat > /tmp/slack-desc << "EOF"
@ -70,6 +72,6 @@ libxslt-doc:
libxslt-doc: libxslt-doc:
EOF EOF
sudo mv /tmp/slack-desc install/ sudo mv /tmp/slack-desc install/
sudo makepkg -l y -c n $PKGS/libxslt-doc-1.1.39-${NOPSUFFIX} sudo makepkg -l y -c n $PKGS/libxslt-doc-$PVER-${NOPSUFFIX}
sudo rm -rf /BMAN/* sudo rm -rf /BMAN/*
sudo rm -rf $BUILD/* sudo rm -rf $BUILD/*