Upgraded itstool to 2.0.7

This commit is contained in:
Derrick
2021-11-22 12:01:04 -06:00
committed by GitHub
parent 82a0439565
commit d3a98d2972

View File

@ -1,7 +1,7 @@
#! /bin/bash
# itstool
# Source: http://files.itstool.org/itstool/itstool-2.0.6.tar.bz2
# Source: http://files.itstool.org/itstool/itstool-2.0.7.tar.bz2
#
# $BUILD = Directory to temporarily install
# $PKGS = Directory to store built packages
@ -17,6 +17,8 @@ export CFLAGS="-march=native "
export CFLAGS+="O2 -g -Wp,-D_FORTIFY_SOURCE=2 -fexceptions "
export CFLAGS+="-fstack-protector --param=ssp-buffer-size=32 "
export CFLAGS+="-Wformat -Wformat-security -Wno-error -Wl,-z,max-page-size=0x1000 "
export CXXFLAGS=$CFLAGS
unset LDFLAGS
patch -Np1 -i ../patches/itstool-alpine/fix-segfault.patch &&
PYTHON=/usr/bin/python3 ./configure --prefix=/usr $BUILDTRUPLE &&
@ -47,5 +49,5 @@ itstool:
itstool:
EOF
sudo -S mv -v /tmp/slack-desc install/ &&
sudo -S makepkg -l y -c n $PKGS/itstool-2.0.6-$(uname -m)-mlfs.txz &&
sudo -S makepkg -l y -c n $PKGS/itstool-2.0.7-$(uname -m)-mlfs.txz &&
sudo -S rm -rf ${BUILD}/*