Upgraded mtdev from 1.1.6 to 1.1.7

This commit is contained in:
dslm4515
2024-06-02 13:17:32 -05:00
parent edcd835c22
commit 6da582f54a

View File

@ -1,7 +1,7 @@
#! /bin/bash
# mtdev
# Source: http://bitmath.org/code/mtdev/mtdev-1.1.6.tar.bz2
# Source: https://bitmath.org/code/mtdev/mtdev-1.1.7.tar.bz2
#
# $BUILD = Directory to temporarily install
# $PKGS = Directory to store built packages
@ -16,8 +16,6 @@ export CFLAGS="-march=native -pipe "
export CFLAGS+="-O3 -ffat-lto-objects -flto=4 "
export LDFLAGS="-flto=4 -Wl,-O2 -Wl,--as-needed "
cp -v ../files/config.sub-musl config-aux/config.sub &&
cp -v ../files/config.guess-musl config-aux/config.guess &&
./configure --prefix=/usr --disable-static $BUILDTRUPLE &&
read -p "Compile?" && make -j2 &&
sudo -S make DESTDIR=$BUILD install &&
@ -45,5 +43,5 @@ mtdev: seamless MT protocol handling is available under a free license.
mtdev:
EOF
sudo -S mv -v /tmp/slack-desc install/ &&
sudo -S makepkg -l y -c n $PKGS/mtdev-1.1.6-$(uname -m)-mlfs.txz &&
sudo -S makepkg -l y -c n $PKGS/mtdev-1.1.7-${PSUFFIX} &&
sudo -S rm -rf ${BUILD}/*