Upgraded libnl3 from 3.10.0 to 3.11.0

This commit is contained in:
dslm4515
2025-09-18 22:33:24 -05:00
parent 117915f576
commit fc2bc447b8

View File

@ -1,7 +1,7 @@
#! /bin/bash
# libnl3
# Source: https://github.com/thom311/libnl/releases/download/libnl3_10_0/libnl-3.10.0.tar.gz
# Source: https://github.com/thom311/libnl/releases/download/libnl3_11_0/libnl-3.11.0.tar.gz
#
# $BUILD = Directory to temporarily install
# $PKGS = Directory to store built packages
@ -16,6 +16,8 @@ export CFLAGS="-march=native -pipe "
export CFLAGS+="-O3 -ffat-lto-objects -flto=4 "
export LDFLAGS="-flto=auto -Wl,-O2 -Wl,--as-needed "
export PVER="3.11.0"
./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-static $BUILDTRUPLE &&
@ -49,7 +51,7 @@ libnl3: Homepage: https://github.com/thom311/libnl
libnl3:
EOF
sudo -S mv -v /tmp/slack-desc install/ &&
sudo -S makepkg -l y -c n $PKGS/libnl3-3.10.0-$PSUFFIX && \
sudo -S makepkg -l y -c n $PKGS/libnl3-$PVER-$PSUFFIX && \
cd /BMAN && \
cat > /tmp/slack-desc << "EOF"
libnl3-doc: Manuals for libnl3 (Netlink Protocol Library Suite version 3)
@ -61,5 +63,5 @@ libnl3-doc: https://github.com/thom311/libnl
libnl3-doc:
EOF
sudo -S mv -v /tmp/slack-desc install/ && \
sudo -S makepkg -l y -c n $PKGS/libnl3-doc-3.10.0-$NOPSUFFIX && \
sudo -S makepkg -l y -c n $PKGS/libnl3-doc-$PVER-$NOPSUFFIX && \
sudo -S rm -rf ${BUILD}/* /BMAN/*