Add selfe compiled arm binaries for inimod

This commit is contained in:
Mario Fetka 2023-01-19 19:24:57 +01:00
parent 7828a68b92
commit a1cb12db8c

View File

@ -28,19 +28,19 @@ LIBDIR=/usr/lib/${ARCH}
MYSTIC_VER="112a48" MYSTIC_VER="112a48"
if [ "${ARCH}" = "x86_64-linux-gnu" ]; then if [ "${ARCH}" = "x86_64-linux-gnu" ]; then
INIMOD_ARCH="64" INIMOD_ARCH="amd64"
MYSTIC_ARCH="l64" MYSTIC_ARCH="l64"
MYSTIC_EXT="rar" MYSTIC_EXT="rar"
elif [ "${ARCH}" = "i386-linux-gnu" ]; then elif [ "${ARCH}" = "i386-linux-gnu" ]; then
INIMOD_ARCH="32" INIMOD_ARCH="amd32"
MYSTIC_ARCH="l32" MYSTIC_ARCH="l32"
MYSTIC_EXT="rar" MYSTIC_EXT="rar"
elif [ "${ARCH}" = "aarch64-linux-gnu" ]; then elif [ "${ARCH}" = "aarch64-linux-gnu" ]; then
INIMOD_ARCH="64" INIMOD_ARCH="arm64"
MYSTIC_ARCH="p64" MYSTIC_ARCH="p64"
MYSTIC_EXT="zip" MYSTIC_EXT="zip"
elif [ "${ARCH}" = "arm-linux-gnueabihf" ]; then elif [ "${ARCH}" = "arm-linux-gnueabihf" ]; then
INIMOD_ARCH="32" INIMOD_ARCH="arm32"
MYSTIC_ARCH="p32" MYSTIC_ARCH="p32"
MYSTIC_EXT="zip" MYSTIC_EXT="zip"
else else
@ -372,11 +372,11 @@ fi
if [ $DBPSCRIPTS = "Yes" ]; then if [ $DBPSCRIPTS = "Yes" ]; then
msg_info "Installing bbs.disconnected-by-peer.at Scripts Dependencies for ${APP}" msg_info "Installing bbs.disconnected-by-peer.at Scripts Dependencies for ${APP}"
wget -N https://www.pazera-software.com/files/IniMod_linux${INIMOD_ARCH}.zip -O /usr/local/src/mystic/IniMod_linux${INIMOD_ARCH}.zip &>/dev/null wget -N https://ftp.disconnected-by-peer.at/IniMod/IniMod_linux_${INIMOD_ARCH}.zip -O /usr/local/src/mystic/IniMod_linux_${INIMOD_ARCH}.zip &>/dev/null
rm -rf /usr/local/src/mystic/IniMod_linux${INIMOD_ARCH} &>/dev/null rm -rf /usr/local/src/mystic/IniMod_linux_${INIMOD_ARCH} &>/dev/null
mkdir -p /usr/local/src/mystic/IniMod_linux${INIMOD_ARCH} &>/dev/null mkdir -p /usr/local/src/mystic/IniMod_linux_${INIMOD_ARCH} &>/dev/null
pushd /usr/local/src/mystic/IniMod_linux${INIMOD_ARCH} &>/dev/null pushd /usr/local/src/mystic/IniMod_linux_${INIMOD_ARCH} &>/dev/null
unzip ../IniMod_linux${INIMOD_ARCH}.zip &>/dev/null unzip ../IniMod_linux_${INIMOD_ARCH}.zip &>/dev/null
cp inimod ${MYSTIC_DIR} cp inimod ${MYSTIC_DIR}
chmod +x ${MYSTIC_DIR}/inimod chmod +x ${MYSTIC_DIR}/inimod
cp README.txt ${MYSTIC_DIR}/docs/inimod_README.txt cp README.txt ${MYSTIC_DIR}/docs/inimod_README.txt